[Pw_forum] Compiling espresso-2.1.5 on SGI ALTIX 350

Sergey Lisenkov proffess at yandex.ru
Thu Oct 20 16:47:26 CEST 2005


Dear PWscf users and authors,

I have troubles with compiling pwscf code on SGI altix 350 code. I took the make.sys file from install directory. We have scsl library and I choose shmem option for compiling. But during linking stage I got:

ecl ../flib/ptools.a ../flib/flib.a ../clib/clib.a -L/sw/sgi/mpt/mpt-1.11/usr/lib/ -lsma  -lscs
/sw/sgi/mpt/mpt-1.11/usr/lib//libsma.so: undefined reference to `MPI_SGI_printf'
/sw/sgi/mpt/mpt-1.11/usr/lib//libsma.so: undefined reference to `MPI_SGI_global_rembias'
/sw/sgi/mpt/mpt-1.11/usr/lib//libsma.so: undefined reference to `MPI_SGI_globally_accessible'
/sw/sgi/mpt/mpt-1.11/usr/lib//libsma.so: undefined reference to `MPI_SGI_progress'
/sw/sgi/mpt/mpt-1.11/usr/lib//libsma.so: undefined reference to `MPI_SGI_comm_copy'
/sw/sgi/mpt/mpt-1.11/usr/lib//libsma.so: undefined reference to `MPI_SGI_fast_fence'
/sw/sgi/mpt/mpt-1.11/usr/lib//libsma.so: undefined reference to `MPI_SGI_symmetric_addr'
/sw/sgi/mpt/mpt-1.11/usr/lib//libsma.so: undefined reference to `_fastbcopy'
/sw/sgi/mpt/mpt-1.11/usr/lib//libsma.so: undefined reference to `MPI_SGI_spmd_model'
make[1]: *** [memory.x] Error 1
make[1]: Leaving directory `/home/inna/espresso-2.1.5/PW'
make: *** [pw] Error 2

I used nm command and see that inside libsma.so there are all undefined routines without underscore:
 nm  /sw/sgi/mpt/mpt-1.11/usr/lib/libsma.so | grep -i MPI_SGI_printf                  U MPI_SGI_printf

 So, how to solve this problem?
   Thanks a lot,
     Best wishes,
       Sergey



More information about the Pw_forum mailing list