Re: [petsc-users] configure cannot find a c preprocessor

2017-12-21 Thread Matthew Knepley
On Thu, Dec 21, 2017 at 3:28 AM, Santiago Andres Triana wrote: > There is no mpich install on this cluster... I will talk to the sysadmins > to see if this is feasible... > > On other news, configure was successful by turning off C++, however make > failed: (attached logs) > > ... > -

Re: [petsc-users] configure cannot find a c preprocessor

2017-12-20 Thread Smith, Barry F.
> On Dec 20, 2017, at 5:52 PM, Matthew Knepley wrote: > > On Wed, Dec 20, 2017 at 6:31 PM, Santiago Andres Triana > wrote: > I got a different error now... hope it's a good sign! > > hpca-login:~/petsc-3.8.3> ./configure --with-cc=gcc --with-fc=gfortran > --with-cxx=g++ --with-mpi-include=/

Re: [petsc-users] configure cannot find a c preprocessor

2017-12-20 Thread Matthew Knepley
On Wed, Dec 20, 2017 at 6:31 PM, Santiago Andres Triana wrote: > I got a different error now... hope it's a good sign! > > hpca-login:~/petsc-3.8.3> ./configure --with-cc=gcc --with-fc=gfortran > --with-cxx=g++ --with-mpi-include=/opt/sgi/mpt/mpt-2.12/include > --with-mpi-lib="-L/opt/sgi/mpt/mpt-

Re: [petsc-users] configure cannot find a c preprocessor

2017-12-20 Thread Satish Balay
Hm configure is misbehaving with /usr/lib64/libcpuset.so.1 notation. Try: ./configure --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --with-mpi-include=/opt/sgi/mpt/mpt-2.12/include --with-mpi-lib="-L/opt/sgi/mpt/mpt-2.12/lib -lmpi -lpthread" LIBS="/usr/lib64/libcpuset.so.1 /usr/lib64/libbitma

Re: [petsc-users] configure cannot find a c preprocessor

2017-12-20 Thread Satish Balay
Its strange compiler. You can try: ./configure --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --with-mpi-include=/opt/sgi/mpt/mpt-2.12/include --with-mpi-lib="-L/opt/sgi/mpt/mpt-2.12/lib -lmpi -lpthread /usr/lib64/libcpuset.so.1 /usr/lib64/libbitmask.so.1" Satish On Wed, 20 Dec 2017, Santia

Re: [petsc-users] configure cannot find a c preprocessor

2017-12-20 Thread Santiago Andres Triana
This is what I get: hpca-login:~> mpicc -show gcc -I/opt/sgi/mpt/mpt-2.12/include -L/opt/sgi/mpt/mpt-2.12/lib -lmpi -lpthread /usr/lib64/libcpuset.so.1 /usr/lib64/libbitmask.so.1 On Wed, Dec 20, 2017 at 11:59 PM, Satish Balay wrote: > >>> > Executing: mpicc -E > -I/dev/shm/pbs.3111462.hpc-pbs

Re: [petsc-users] configure cannot find a c preprocessor

2017-12-20 Thread Satish Balay
>>> Executing: mpicc -E -I/dev/shm/pbs.3111462.hpc-pbs/petsc-fdYfuH/config.setCompilers /dev/shm/pbs.3111462.hpc-pbs/petsc-fdYfuH/config.setCompilers/conftest.c stderr: gcc: warning: /usr/lib64/libcpuset.so.1: linker input file unused because linking not done gcc: warning: /usr/lib64/libbitmas

[petsc-users] configure cannot find a c preprocessor

2017-12-20 Thread Santiago Andres Triana
Dear petsc-users, I'm trying to install petsc in a cluster using SGI's MPT. The mpicc compiler is in the search path. The configure command is: ./configure --with-scalar-type=complex --with-mumps=1 --download-mumps --download-parmetis --download-metis --download-scalapack However, this leads to