[MITgcm-support] make problems
Nataliya Stashchuk
nataliya.stashchuk at plymouth.ac.uk
Thu Jan 27 12:14:50 EST 2011
Hi All,
I started to run MITgcm on new cluster. I wrote the following optfile:
------------------------------------------------------------------------------------------------
#!/bin/bash
#
FC=ifort
EXTENDED_SRC_FLAG='-132'
OMPFLAG='-openmp'
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
CPP='/lib/cpp -traditional -P'
F90FIXEDFORMAT='-fixed -Tf'
NOOPTFLAGS='-O0 -g -m64 -mcmodel=medium'
NOOPTFILES=''
INCLUDEDIRS='/opt/mpich2/gnu/include'
INCLUDES='-I/opt/mpich2/gnu/include'
#MPI_HEADER_FILES='mpif.h mpiof.h'
LIBS='-L/opt/mpich2/gnu/lib -lmpich -lfmpich'
if test "x$DEVEL" != x ; then
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl -mcmodel=medium -O0 -g -noalign -fpstkchk -check all -fpe0 -traceback -ftrapuv -warn all'
else
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl -mcmodel=medium'
fi
if test "x$IEEE" = x ; then
FOPTIM='-O2 -align -xW -ip'
else
FOPTIM='-O2 -align -xW -ip -mp'
fi
F90FLAGS=$FFLAGS
F90OPTIM=$FOPTIM
CFLAGS='-O2 -ip -mcmodel=medium'
------------------------------------------------------------------
After make command I got the following error
/opt/mpich2/gnu/lib/libmpich.so: undefined reference to `shm_open'
/opt/mpich2/gnu/lib/libmpich.so: undefined reference to `aio_suspend64'
/opt/mpich2/gnu/lib/libmpich.so: undefined reference to `aio_return64'
/opt/mpich2/gnu/lib/libmpich.so: undefined reference to `aio_read64'
/opt/mpich2/gnu/lib/libmpich.so: undefined reference to `shm_unlink'
/opt/mpich2/gnu/lib/libmpich.so: undefined reference to `aio_error64'
/opt/mpich2/gnu/lib/libmpich.so: undefined reference to `aio_write64'
make: *** [mitgcmuv] Error 1
Does anybody know how to solve it?
Regards,
Nataliya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20110127/d546e69f/attachment.htm>
More information about the MITgcm-support
mailing list