[MITgcm-support] MPI-Configuration on Westgrid (Jasper) Cluster

Benjamin Ocampo rurik at ualberta.ca
Wed Oct 14 11:45:49 EDT 2015


Hi All:

Sorry to trouble you with this thread. I have recently figured out the
error. I needed to declare mpif90 and mpicc for the FC and the CC.

Cheers,
Benjamin

On Wed, Oct 14, 2015 at 8:19 AM, Benjamin Ocampo <rurik at ualberta.ca> wrote:

> Hi All:
>
> I was wondering if anyone is familiar with making a build option for the
> Jasper cluster as
> my attempts are not working. The file I am currently made and using is of
> the following:
>
> module load library/openmpi/1.6.5-intel
> module load library/netcdf/4.1.3
> module load compiler/intel/13.0.1
>
> FC=ifort
> CC=icc
>
> DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
> CPP='/lib/cpp -traditional -P'
> EXTENDED_SRC_FLAG='-132'
> OMPFLAG='-openmp'
> CFLAGS='-fPIC'
> LDADD='-shared-intel'
>
> LIBS='-L/global/software/openmpi/openmpi-1.6.5-intel/lib -lmpi
> -L/global/software/netcdf/netcdf-4.1.3/lib -lnetcdf'
> INCLUDES='-I/global/software/openmpi/openmpi-1.6.5-intel/include
> -I/global/software/netcdf/netcdf-4.1.3/include'
>
> NOOPTFLAGS='-O0'
>
> FFLAGS="$FFLAGS -fPIC -W0 -WB -convert big_endian -assume byterecl
> -noalign"
> FOPTIM='-O0'
>
> And the errors that come out are of the following (First and last ten
> lines of the error file):
>
> debug_call.o: In function `debug_call_':
> debug_call.f:(.text+0x98): undefined reference to `_gfortran_st_write'
> debug_call.f:(.text+0xaa): undefined reference to
> `_gfortran_transfer_character'
> debug_call.f:(.text+0xb8): undefined reference to
> `_gfortran_transfer_character'
> debug_call.f:(.text+0xc0): undefined reference to `_gfortran_st_write_done'
> debug_stats_rl.o: In function `debug_stats_rl_':
> debug_stats_rl.f:(.text+0xfa): undefined reference to `_gfortran_st_write'
> debug_stats_rl.f:(.text+0x10c): undefined reference to
> `_gfortran_transfer_character'
> debug_stats_rl.f:(.text+0x11c): undefined reference to
> `_gfortran_transfer_character'
> debug_stats_rl.f:(.text+0x12e): undefined reference to
> `_gfortran_transfer_character'
> ...
> # gfortran errors
> ...
> /var/spool/torque/mom_priv/jobs/9036268.jasper-usradm.SC: line 29: cd:
> /home/ocampo/MITgcm/verification/rotating_tank_mpi/run: No such file or
> directory
> ln: creating symbolic link `./CVS': File exists
> --------------------------------------------------------------------------
> mpiexec was unable to launch the specified application as it could not
> access
> or execute an executable:
>
> Executable: ./mitgcmuv
> Node: cl2n065
>
> while attempting to start process rank 0.
> --------------------------------------------------------------------------
>
> I am also unfamiliar with where the gfortran errors come from. I am
> assuming
> it has to do with my path declaration but I am not sure. Any help in
> solving
> this problem would be greatly appreciated. I will continue playing around
> with
> the pathways to see what is going on.
>
> Cheers,
> Benjamin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20151014/bae2b987/attachment.htm>


More information about the MITgcm-support mailing list