[petsc-users] sgi mpt errors

pratik pratik.mallya.ml at gmail.com
Tue Jul 5 23:53:13 CDT 2011


Hi everyone,

I am getting the following errors on testing PETSc on an SGI ALTIX 
cluster with sgi mpt-1.23.:(building and install was without any problems):

/opt/intel/Compiler/11.1/038/bin/intel64/icc -o ex19.o -c 
-Wno-deprecated -g -I/home/pratikm/install/include 
-I/home/pratikm/install/include -I/usr/X11R6/include -I/usr/include 
-I/usr/lib64 -I/opt/sgi/mpt/mpt-1.23/include 
-D__INSDIR__=src/snes/examples/tutorials/ ex19.c
/opt/intel/Compiler/11.1/038/bin/intel64/icc -Wno-deprecated -g  -o ex19 
  ex19.o -Wl,-rpath,/home/pratikm/install/lib 
-L/home/pratikm/install/lib -lpetsc  -L/usr/X11R6/lib64 -lX11 
-Wl,-rpath,/usr/lib64 -L/usr/lib64 -lhdf5 -llapack -lblas 
-Wl,-rpath,/opt/sgi/mpt/mpt-1.23/lib -L/opt/sgi/mpt/mpt-1.23/lib -lmpi 
-ldl -L/opt/intel/Compiler/11.1/038/lib/intel64 
-L/usr/lib64/gcc/x86_64-suse-linux/4.1.2 -L/usr/x86_64-suse-linux/lib 
-limf -lsvml -lipgo -ldecimal -lirc -lgcc_s -lirc_s -lgfortran -lm -lm 
-ldl -limf -lsvml -lipgo -ldecimal -lirc -lgcc_s -lirc_s -ldl
/home/pratikm/install/lib/libpetsc.a(bvec2.o): In function 
`VecView_Seq_Binary':
/home/pratikm/source/PETSc/petsc-3.1-p8/src/vec/vec/impls/seq/bvec2.c:401: 
undefined reference to `mpi_sgi_status_ignore'
/home/pratikm/install/lib/libpetsc.a(pdvec.o): In function 
`VecView_MPI_Binary':
/home/pratikm/source/PETSc/petsc-3.1-p8/src/vec/vec/impls/mpi/pdvec.c:459: 
undefined reference to `mpi_sgi_status_ignore'
/home/pratikm/install/lib/libpetsc.a(gr2.o): In function `DAArrayMPIIO':
/home/pratikm/source/PETSc/petsc-3.1-p8/src/dm/da/src/gr2.c:478: 
undefined reference to `mpi_sgi_status_ignore'
/home/pratikm/source/PETSc/petsc-3.1-p8/src/dm/da/src/gr2.c:480: 
undefined reference to `mpi_sgi_status_ignore'
/home/pratikm/install/lib/libpetsc.a(vecio.o): In function `VecLoad_Binary':
/home/pratikm/source/PETSc/petsc-3.1-p8/src/vec/vec/utils/vecio.c:275: 
undefined reference to `mpi_sgi_status_ignore'
/home/pratikm/install/lib/libpetsc.a(mpiov.o): In function 
`MatGetSubMatrix_MPIAIJ_All':
/home/pratikm/source/PETSc/petsc-3.1-p8/src/mat/impls/aij/mpi/mpiov.c:585: 
undefined reference to `mpi_sgi_inplace'
/home/pratikm/source/PETSc/petsc-3.1-p8/src/mat/impls/aij/mpi/mpiov.c:646: 
undefined reference to `mpi_sgi_inplace'
/home/pratikm/source/PETSc/petsc-3.1-p8/src/mat/impls/aij/mpi/mpiov.c:720: 
undefined reference to `mpi_sgi_inplace'
/home/pratikm/install/lib/libpetsc.a(mpibaij.o): In function 
`MatGetSeqNonzerostructure_MPIBAIJ':
/home/pratikm/source/PETSc/petsc-3.1-p8/src/mat/impls/baij/mpi/mpibaij.c:2391: 
undefined reference to `mpi_sgi_inplace'
/home/pratikm/source/PETSc/petsc-3.1-p8/src/mat/impls/baij/mpi/mpibaij.c:2450: 
undefined reference to `mpi_sgi_inplace'
make[3]: [ex19] Error 1 (ignored)
/bin/rm -f ex19.o


Can anyone please tell me what options i need to provide when 
configuring so that the program works correctly?
here is the configure option that i used:

./config/configure.py --prefix=/home/pratikm/install 
-with-cc=/opt/intel/Compiler/11.1/038/bin/intel64/icc 
--CFLAGS=-Wno-deprecated -I/opt/sgi/mpt/mpt-1.23/include 
-L/opt/sgi/mpt/mpt-1.23/lib -lmpi -lsma -O3 -xT -g 
-with-cxx=/opt/intel/Compiler/11.1/038/bin/intel64/icpc 
--CXXFLAGS=-Wno-deprecated -I/opt/sgi/mpt/mpt-1.23/include 
-L/opt/sgi/mpt/mpt-1.23/lib -lmpi++ -lmpi -lsma 
--with-mpi-include=/opt/sgi/mpt/mpt-1.23/include 
--with-mpi-lib=/opt/sgi/mpt/mpt-1.23/lib/libmpi.so 
--with-hdf5-include=/usr/include --with-hdf5-lib=/usr/lib64/libhdf5.so


Thanks in advance,
Pratik


More information about the petsc-users mailing list