Opened 7 years ago

Closed 7 years ago

#1086 closed help (fixed)

Compiling reconfiguration at UM4.5

Reported by: manoj Owned by: willie
Component: UM Model Keywords: reconfiguration compilation
Cc: Platform: HECToR
UM Version: 4.5

Description

I'm trying to compile a reconfiguration for a HadCM3 job (xiqfa) and it falls over in reconfiguration with this error:

ftn -s real64 -s integer64 -I /work/n02/n02/hum/gcom/cce/gcom3.8/hector_cce_mpp/inc -hflex_mp=intolerant -c a\
bcalc1.f
pathf90-4.0.9 ERROR parsing -hflex_mp=intolerant: unknown flag
make: * [abcalc1.o] Error 1

file is here:
/home/n02/n02/joshi/um/umui_out/xiqfa000.xiqfa.d13171.t132009.comp.leave

Help! I haven't run HadCM3 on HECToR in quite a while so there may be some inconsistencies with my .profile setup, though I have updated TARGET_MC and UMSETUP

-manoj

Change History (2)

comment:1 Changed 7 years ago by willie

  • Owner changed from um_support to willie
  • Status changed from new to accepted

Hi Manoj,

It looks like it is using the wrong compiler. It should be using the Cray compiler environment. Make sure that you have something like the following in your .profile,

UMDIR=/work/n02/n02/hum
TARGET_MC=cce

export VN=8.2

# Setup UM variables

if [ -f $HOME/.umsetvars_$VN ]
then
  . $HOME/.umsetvars_$VN
else
  . $UMDIR/vn$VN/$TARGET_MC/scripts/.umsetvars_$VN
fi

# loadcomp is a UM utility to change compilers.
. $UMDIR/bin/loadcomp
loadcomp $TARGET_MC

Regards,

Willie

comment:2 Changed 7 years ago by willie

  • Resolution set to fixed
  • Status changed from accepted to closed

The lines

if [ -f $HOME/.umsetvars_$VN ]
then
  . $HOME/.umsetvars_$VN
else
  . $UMDIR/vn$VN/$TARGET_MC/scripts/.umsetvars_$VN
fi

are not necessary for 4.5. With this change the compile was successful.

Note: See TracTickets for help on using tickets.