Opened 3 years ago

Closed 3 years ago

#2143 closed help (fixed)

Rose make error

Reported by: apm Owned by: um_support
Component: Rose Keywords: Rose Archer fcm_make2_ocean
Cc: Platform:
UM Version: <select version>


After my Puma disk quota was increased (thanks, Andy!), I can now progress further with building my NEMO/CICE configuration u-ak984 on Archer via Rose.

The next hurdle is a failure in fcm_make2_ocean. The log file has this:

/work/n01/n01/alexm/cylc-run/u-ak984/share/fcm_make_ocean/fcm-make2.cfg:109: reference to undefined variable

Line 109 of the above file is:
preprocess-ocean.prop{cpp.flags} = -E -C -I$prism_path/build/lib/psmile.MPI1 -I$xios_path/inc -I$prism_path/build/lib/psmile.MPI1

I wonder whether one or both of $prism_path and $xios_path might be unset. Where are these normally set?

Does this error make sense?



Change History (5)

comment:1 Changed 3 years ago by grenville


Did you run u-ag051 successfully?


comment:2 Changed 3 years ago by grenville

prism_path and xios_path are set by modules in the XIOS-PrgEnv?/1.1 module

can you do this:

module use /work/y07/y07/umshared/moci/modules/modules
module load XIOS-PrgEnv?/1.1

then you should see

echo $prism_path


echo $xios_path

I can't see in n01 space — can you check that the modules are correctly loaded/


comment:3 Changed 3 years ago by grenville

Ok - forgot about PUMA

It's not loading XIOS-PrgEnv? because it's expecting you to have PrgEnv?-cray loaded - you have PrgEnv?-intel/5.2.56 please change:

XIOS-PrgEnv?/1.1/undefined(20):ERROR:152: Module 'PrgEnv?-cray' is currently not loaded
XIOS-PrgEnv?/1.1/undefined(20):ERROR:102: Tcl command execution failed: module swap PrgEnv?-cray PrgEnv?-cray/5.2.56

You can see what the XIOS module is doing:

module show XIOS-PrgEnv?/1.1


module-whatis The XIOS I/O server for use with weather/climate models
conflict XIOS-PrgEnv?
module swap PrgEnv?-cray PrgEnv?-cray/5.2.56
module load cray-hdf5-parallel/1.8.13
module load cray-netcdf-hdf5parallel/4.3.2
module load python-compute/2.7.6
module load oasis3-mct/1.1/undefined/1664
module load XIOS/1.1/undefined/684


comment:4 Changed 3 years ago by apm

Thanks, Grenville.

I changed the module load in my .bashrc on Archer to the cray one you suggested, and compilation has now completed without a hitch.



comment:5 Changed 3 years ago by grenville

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