#2733 closed help (fixed)

Error building the model

Reported by: nfreychet Owned by: um_support
Component: UM Model Keywords: ARCHER profile
Cc: Platform: ARCHER
UM Version: 8.4

Description

Hello,

I have an error when trying to compile the UM model (8.4) on ARCHER (I just copied another of my run which was working fine). I think it is related to "gcom/cce/gcom4.5/…" given the error message:

cd /work/n02/n02/nfreyche/build/xnbrf/umatmos/tmp
# Start: 2019-01-18 14:17:43=> ftn -o scops.o -I/work/n02/n02/nfreyche/build/xnbrf/umatmos/inc -I/work/n02/n02/nfreyche/build/xnbrf/baserepos/JULES/inc -I/work/n02/n02/nfreyche/build/xnbrf/baserepos/JULES/inc -I/work/n02/n02/nfreyche/build/xnbrf/baserepos/UMATMOS/inc -e m -h noomp -s real64 -s integer64 -hflex_mp=intolerant -I /work/y07/y07/umshared/gcom/cce/gcom4.5/archer_cce_mpp/inc     -h omp -c /work/n02/n02/nfreyche/build/xnbrf/umatmos/ppsrc/UM/atmosphere/COSP/icarus-scops-4.1-bsd/scops.f90
ftn-3178 crayftn: LIMIT in command line
  There is a problem with a temp file or a program library file being used in this compilation.
ftn-714 crayftn: WARNING in command line
  The "noomp" command has been overridden by the "omp" command.
fcm_internal compile failed (256)
# Time taken:            0 s=> ftn -o mod_llnl_stats.o -I/work/n02/n02/nfreyche/build/xnbrf/umatmos/inc -I/work/n02/n02/nfreyche/build/xnbrf/baserepos/JULES/inc -I/work/n02/n02/nfreyche/build/xnbrf/baserepos/JULES/inc -I/work/n02/n02/nfreyche/build/xnbrf/baserepos/UMATMOS/inc -e m -h noomp -s real64 -s integer64 -hflex_mp=intolerant -I /work/y07/y07/umshared/gcom/cce/gcom4.5/archer_cce_mpp/inc     -h omp -c /work/n02/n02/nfreyche/build/xnbrf/umatmos/ppsrc/UM/atmosphere/COSP/llnl/llnl_stats.f90
gmake: *** [mod_llnl_stats.o] Error 1

The full log is in here: /home/n02/n02/nfreyche/output/xnbrf000.xnbrf.d19018.t140213.comp.leave

If someone has an idea how to solve that…

Thanks,
Nicolas

Change History (6)

comment:1 Changed 11 months ago by willie

Hi Nick,

The GCOM default is built using cce/8.3.7. You are using cce/8.5.8. On PUMA, you need to add a hand edit file containing,

#!/bin/ksh
#
# Update to cce/8.3.7 compiler.
#
ed FCM_BLD_COMMAND <<EOF
/^module/
i
module swap cce cce/8.3.7
.
wq
EOF

Insert it in the hand edits table, switch it on and build again.

Willie

comment:2 Changed 11 months ago by nfreychet

Hi Willie,

I tried as you said, but now I have the following error:

Error:
Unable to find cray-mpich libraries compatible with cce/8.3.7.

comment:3 Changed 11 months ago by willie

Hi Nick,

You also need to add to the same hand edit:

module swap cray-mpich cray-mpich/7.1.1
module load cray-netcdf/4.3.2

after the first module command.

It still complains about module conflicts, but the build succeeds. Do a fresh build so that it doesn't mix output from old and new compilers.

Willie

comment:4 Changed 11 months ago by willie

Hi Nick,

I've just been reminded (it's so long since I used the UMUI) that you need something like the following in your ARCHER .profile:

# Setup UM variables
. /etc/bash.bashrc > /dev/null 2>&1

export UMDIR=/work/y07/y07/umshared
TARGET_MC=cce

VN=8.5
if test -f $HOME/.umsetvars_$VN; then
  . $HOME/.umsetvars_$VN
else
  . $UMDIR/vn$VN/$TARGET_MC/scripts/.umsetvars_$VN
fi 

These are used to ensure that the correct compiler set up is used.

Willie

comment:5 Changed 11 months ago by nfreychet

Hi Willie,

I made all the changes you indicate and now the build is successful. Thanks a lot!

I think you can close this ticket.

Nico

comment:6 Changed 11 months ago by willie

  • Keywords ARCHER profile added
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.