[petsc-users] Installation problems on IBM machine

Samar Khatiwala spk at ldeo.columbia.edu
Sat May 24 11:13:56 CDT 2014


Hi Barry,

That solved the problem! Thanks so much for the fast and helpful reply!

Best,

Samar

On May 24, 2014, at 9:22 AM, Barry Smith <bsmith at mcs.anl.gov> wrote:

> 
> 
>  Try using make all-legacy
> 
>   Barry
> 
> That is some cmake problem; fortunately we are abandoning cmake for the future. The reason the problem persists is likely because cmake has cached something somewhere that doesn’t get rebuilt.
> 
> 
> On May 24, 2014, at 7:04 AM, Samar Khatiwala <spk at ldeo.columbia.edu> wrote:
> 
>> Hello,
>> 
>> I'm having trouble installing PETSc on an IBM machine (power6). After some trial and error I managed to configure but the 'make all' step fails with: 
>> 
>> ==========================================
>> Building PETSc using CMake with 21 build threads
>> ==========================================
>> make: 1254-002 Cannot find a rule to create target 21 from dependencies.
>> Stop.
>> make: 1254-004 The error code from the last command is 2.
>>>> 
>> Please see attached logs. I configured with:
>> 
>> config/configure.py --with-cc=mpcc --with-cxx=mpCC --with-clanguage=c --with-fc=mpxlf90 --with-debugging=0 FFLAGS="-qextname" --with-batch=1 --known-mpi-shared-libraries=0 --with-blas-lapack-lib="[libessl.a]"
>> 
>> What is odd is that this worked once but 'make test' failed because of a missing LAPACK routine in ESSL. I reconfigured with 
>> --with-blas-lib=libessl.a --with-lapack-lib=/sw/aix53/lapack-3.2.0/lib/liblapack.a but then 'make all' failed with the same error as I now 
>> get *even after* reverting to the original (above) configure options. I've now tried this several times with a fresh copy of PETSc to no 
>> avail.
>> 
>> Any help would be appreciated. Thanks very much!
>> 
>> Samar
>> 
>> 
>> 
>> <make.log.gz><configure.log.gz>
> 



More information about the petsc-users mailing list