Updating Suite u-cp976

Hi, I’m trying to update suite u-cp976 on Monsoon using this website https://code.metoffice.gov.uk/trac/jules/wiki/JULESWithRose#UpgradingaJULESRosesuite
and I’m getting this error with the first step:

[ahussain@xcslc0:~> rose app-upgrade -M ~/MODELS/vn6.0_jules/rose-meta -C ~/roses/u-cp976/app/jules/ --all-versions

[FAIL] Error: could not find meta flag

I was wondering if someone could please help?

Thanks, Ayesha

Ayesha

It looks like /home/d03/ahussain/roses/u-cp976/app/jules/rose-app.conf is missing a entry like

meta=jules-standalone/vn4.9

I’m not sure what this should be for your suite - have you got others to compare? (see /home/d03/ahussain/roses/u-cp583/app/jules/rose-app.conf for example?)

Grenville

Thank you! I added meta=jules-standalone/vn5.9 to app/jules/rose-app.conf and it worked!

I now want to change the JULES_EXE in rose-suite.conf to the upgraded jules. Currently it’s:
JULES_EXE=‘/home/d01/kwilliam/Packages/JULES/new_rep/vn5.9_trunk/build/bin/jules.exe’

In my model (I’m upgrading to vn6.0) I put in the following:
ahussain@xcslc0:~/MODELS/vn6.0_jules> export JULES_COMPILER=intel
ahussain@xcslc0:~/MODELS/vn6.0_jules> export JULES_BUILD=fast
ahussain@xcslc0:~/MODELS/vn6.0_jules> export JULES_NETCDF=netcdf
ahussain@xcslc0:~/MODELS/vn6.0_jules> fcm make -j 2 -f etc/fcm-make/make.cfg --new

But I get this error message:
[init] make # 2022-09-30T11:02:02Z
[info] FCM 2021.05.0 (/common/fcm/fcm-2021.05.0)
[init] make config-parse # 2022-09-30T11:02:02Z
[info] config-file=/home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/make.cfg
[info] config-file= - /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/platform/custom.cfg
[FAIL] make config-parse # 0.2s
[FAIL] make # 0.2s
[FAIL] /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/platform/custom.cfg:6: reference to undefined variable
[FAIL] include =
[FAIL] undef($JULES_REMOTE)

Do you know if this is the way to get the jules.exe file for vn6.0, or is this wrong? Also, do you know what I’m doing wrong to get the fail message?

Thanks, Ayesha

PS. I eventually want to upgrade it to vn7.0, do you know if it’s easier to upgrade straight to 7.0 or if it’s better practice to upgrade it one by one?

Hi Ayesha:
Have you tried the settings for the Met Office Linux systems, which includes?:
export JULES_PLATFORM=meto-linux-gfortran
See:
https://jules-lsm.github.io/latest/building-and-running/fcm.html
Does that help?

I have tried sometimes to upgrade JULES suites one version incremental number at a time, and sometimes to upgrade them straight in one-shot to the latest version. I don’t know which way is better.
Patrick

Hi Patrick,

Thanks for your reply! I just tried setting it up with meto-linux-gfortran but got a lot of fail messages (see below). Do you know if there’s a setup for Monsoon specifically? I also don’t know the path to netcdf, do you know what I should put here? Thanks so much again, Ayesha

ahussain@xcslc0:~/MODELS/vn6.0_jules> export JULES_PLATFORM=meto-linux-gfortran
ahussain@xcslc0:~/MODELS/vn6.0_jules> export JULES_BUILD=fast
ahussain@xcslc0:~/MODELS/vn6.0_jules> export JULES_NETCDF=netcdf
ahussain@xcslc0:~/MODELS/vn6.0_jules> fcm make -j 2 -f etc/fcm-make/make.cfg --new
[init] make # 2022-10-10T09:14:52Z
[info] FCM 2021.05.0 (/common/fcm/fcm-2021.05.0)
[init] make config-parse # 2022-10-10T09:14:52Z
[info] config-file=/home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/make.cfg
[info] config-file= - /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/platform/meto-linux-gfortran.cfg
[info] config-file= - - /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/platform/envars.cfg
[info] config-file= - - /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/platform/custom.cfg
[info] config-file= - - - /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/remote/local.cfg
[info] config-file= - - - /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/compiler/gfortran.cfg
[info] config-file= - - - /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/build/fast.cfg
[info] config-file= - - - /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/omp/noomp.cfg
[info] config-file= - - - /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/ncdf/netcdf.cfg
[info] config-file= - - - /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/mpi/nompi.cfg
[done] make config-parse # 0.6s
[init] make dest-init # 2022-10-10T09:14:52Z
[info] dest=ahussain@xcslc0:/home/d03/ahussain/MODELS/vn6.0_jules
[info] mode=new
[done] make dest-init # 0.4s
[init] make extract # 2022-10-10T09:14:53Z
[info] location jules: 0: /home/d03/ahussain/MODELS/vn6.0_jules
[info] dest: 561 [A added]
[info] source: 561 [U from base]
[done] make extract # 6.2s
[init] make preprocess # 2022-10-10T09:14:59Z
[info] sources: total=561, analysed=557, elapsed-time=0.9s, total-time=0.7s
[info] target-tree-analysis: elapsed-time=0.1s
[info] install targets: modified=160, unchanged=0, failed=0, total-time=0.3s
[info] process targets: modified=397, unchanged=0, failed=0, total-time=3.9s
[info] TOTAL targets: modified=557, unchanged=0, failed=0, elapsed-time=2.7s
[done] make preprocess # 3.7s
[init] make build # 2022-10-10T09:15:02Z
[info] sources: total=561, analysed=561, elapsed-time=5.4s, total-time=9.8s
[info] target-tree-analysis: elapsed-time=1.0s
[FAIL] gfortran -oo/water_constants_mod.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/params/standalone/water_constants_mod_jls.F90: command not found
[FAIL] compile 0.0 ! water_constants_mod.o ← jules/src/params/standalone/water_constants_mod_jls.F90
[FAIL] gfortran -oo/timestep_mod.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/control/standalone/var/timestep_mod.F90: command not found
[FAIL] compile 0.0 ! timestep_mod.o ← jules/src/control/standalone/var/timestep_mod.F90
[FAIL] gfortran -oo/theta_field_sizes.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/science/params/theta_field_sizes_mod.F90: command not found
[FAIL] compile 0.0 ! theta_field_sizes.o ← jules/src/science/params/theta_field_sizes_mod.F90
[FAIL] gfortran -oo/switches.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/control/shared/switches.F90: command not found
[FAIL] compile 0.0 ! switches.o ← jules/src/control/shared/switches.F90
[FAIL] gfortran -oo/solinc_data.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/control/standalone/var/solinc_data.F90: command not found
[FAIL] compile 0.0 ! solinc_data.o ← jules/src/control/standalone/var/solinc_data.F90
[FAIL] gfortran -oo/rndm.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/control/imogen/rndm.F90: command not found
[FAIL] compile 0.0 ! rndm.o ← jules/src/control/imogen/rndm.F90
[FAIL] gfortran -oo/response.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/control/imogen/response.F90: command not found
[FAIL] compile 0.0 ! response.o ← jules/src/control/imogen/response.F90
[FAIL] gfortran -oo/redis.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/control/imogen/redis.F90: command not found
[FAIL] compile 0.0 ! redis.o ← jules/src/control/imogen/redis.F90
[FAIL] gfortran -oo/radf_co2.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/control/imogen/radf_co2.F90: command not found
[FAIL] compile 0.0 ! radf_co2.o ← jules/src/control/imogen/radf_co2.F90
[FAIL] gfortran -oo/precision_mod.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/params/standalone/precision_mod.F90: command not found
[FAIL] compile 0.0 ! precision_mod.o ← jules/src/params/standalone/precision_mod.F90
[FAIL] gfortran -oo/planet_constants_mod.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/params/standalone/planet_constants_mod_jls.F90: command not found
[FAIL] compile 0.0 ! planet_constants_mod.o ← jules/src/params/standalone/planet_constants_mod_jls.F90
[FAIL] gfortran -oo/parkind1.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/utils/drhook_dummy/parkind1.F90: command not found
[FAIL] compile 0.0 ! parkind1.o ← jules/utils/drhook_dummy/parkind1.F90
[FAIL] gfortran -oo/nlsizes_namelist_mod.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/params/standalone/nlsizes_namelist_mod.F90: command not found
[FAIL] compile 0.0 ! nlsizes_namelist_mod.o ← jules/src/params/standalone/nlsizes_namelist_mod.F90
[FAIL] gfortran -oo/mpi_init.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/utils/mpi_dummy/mpi_routines.F90: command not found
[FAIL] compile 0.0 ! mpi_init.o ← jules/utils/mpi_dummy/mpi_routines.F90
[FAIL] gfortran -oo/mpi.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/utils/mpi_dummy/mpi_mod.F90: command not found
[FAIL] compile 0.0 ! mpi.o ← jules/utils/mpi_dummy/mpi_mod.F90
[FAIL] gfortran -oo/missing_data_mod.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/params/standalone/missing_data_mod.F90: command not found
[FAIL] compile 0.0 ! missing_data_mod.o ← jules/src/params/standalone/missing_data_mod.F90
[FAIL] gfortran -oo/max_dimensions.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/control/shared/max_dimensions.F90: command not found
[FAIL] compile 0.0 ! max_dimensions.o ← jules/src/control/shared/max_dimensions.F90
[FAIL] compile ---- ! imogen_anlg_vals.o ← jules/src/params/imogen/imogen_anlg_vals.F90
[FAIL] gfortran -oo/io_constants.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/params/standalone/io_constants.F90: command not found
[FAIL] compile 0.0 ! io_constants.o ← jules/src/params/standalone/io_constants.F90
[FAIL] gfortran -oo/imogen_time.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/params/imogen/imogen_time.F90: command not found
[FAIL] compile 0.0 ! imogen_time.o ← jules/src/params/imogen/imogen_time.F90
[FAIL] compile ---- ! drdat.o ← jules/src/control/imogen/drdat.F90
[FAIL] gfortran -oo/imogen_drive_vars.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/control/imogen/var/imogen_drive_vars.F90: command not found
[FAIL] compile 0.0 ! imogen_drive_vars.o ← jules/src/control/imogen/var/imogen_drive_vars.F90
[FAIL] gfortran -oo/imogen_constants.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/params/imogen/imogen_constants.F90: command not found
[FAIL] compile 0.0 ! imogen_constants.o ← jules/src/params/imogen/imogen_constants.F90
[FAIL] gfortran -oo/imogen_clim.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/control/imogen/var/imogen_clim.F90: command not found
[FAIL] compile 0.0 ! imogen_clim.o ← jules/src/control/imogen/var/imogen_clim.F90
[FAIL] gfortran -oo/dust_parameters_mod.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/params/standalone/dust_parameters_mod_jls.F90: command not found
[FAIL] compile 0.0 ! dust_parameters_mod.o ← jules/src/params/standalone/dust_parameters_mod_jls.F90
[FAIL] gfortran -oo/errormessagelength_mod.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/control/standalone/var/errormessagelength_mod.F90: command not found
[FAIL] compile 0.0 ! errormessagelength_mod.o ← jules/src/control/standalone/var/errormessagelength_mod.F90
[FAIL] compile ---- ! clim_calc.o ← jules/src/control/imogen/clim_calc.F90
[FAIL] gfortran -oo/disaggregated_precip.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/control/standalone/var/disaggregated_precip.F90: command not found
[FAIL] compile 0.0 ! disaggregated_precip.o ← jules/src/control/standalone/var/disaggregated_precip.F90
[FAIL] gfortran -oo/diag_swchs.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/params/standalone/diag_swchs.F90: command not found
[FAIL] compile 0.0 ! diag_swchs.o ← jules/src/params/standalone/diag_swchs.F90
[FAIL] gfortran -oo/datetime_utils_mod.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/control/shared/datetime_utils_mod.F90: command not found
[FAIL] compile 0.0 ! datetime_utils_mod.o ← jules/src/control/shared/datetime_utils_mod.F90
[FAIL] gfortran -oo/data_parameters.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/science/flake/data_parameters_mod.F90: command not found
[FAIL] compile 0.0 ! data_parameters.o ← jules/src/science/flake/data_parameters_mod.F90
[FAIL] gfortran -oo/conversions_mod.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/params/standalone/conversions_mod_jls.F90: command not found
[FAIL] compile 0.0 ! conversions_mod.o ← jules/src/params/standalone/conversions_mod_jls.F90
[FAIL] gfortran -oo/chemistry_constants_mod.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/params/standalone/chemistry_constants_mod.F90: command not found
[FAIL] compile 0.0 ! chemistry_constants_mod.o ← jules/src/params/standalone/chemistry_constants_mod.F90
[FAIL] gfortran -oo/cable_prognostic_info_mod.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/control/shared/cable_prognostic_info_mod.F90: command not found
[FAIL] compile 0.0 ! cable_prognostic_info_mod.o ← jules/src/control/shared/cable_prognostic_info_mod.F90
[FAIL] gfortran -oo/cable_other_constants_mod.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/params/shared/cable_other_constants_mod.F90: command not found
[FAIL] compile 0.0 ! cable_other_constants_mod.o ← jules/src/params/shared/cable_other_constants_mod.F90
[FAIL] gfortran -oo/bl_option_mod.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/params/standalone/bl_option_mod.F90: command not found
[FAIL] compile 0.0 ! bl_option_mod.o ← jules/src/params/standalone/bl_option_mod.F90
[FAIL] gfortran -oo/atm_fields_bounds_mod.o -c -DSCMA -DBL_DIAG_HACK -DGNU_FORTRAN -DMPI_DUMMY -I./include -I/project/jules/lib/gfortran-4.8.5-gcc-4.8.5/netcdf-c-4.6.1-fortran-4.4.4/include -std=f2003 -fall-intrinsics -fmax-identifier-length=63 -ffree-line-length-132 -fimplicit-none -fbounds-check -Warray-bounds -O3 /home/d03/ahussain/MODELS/vn6.0_jules/preprocess/src/jules/src/control/standalone/var/atm_fields_bounds_mod.F90: command not found
[FAIL] compile 0.0 ! atm_fields_bounds_mod.o ← jules/src/control/standalone/var/atm_fields_bounds_mod.F90
[info] compile targets: modified=0, unchanged=0, failed=37, total-time=0.0s
[info] install targets: modified=1, unchanged=0, failed=0, total-time=0.0s
[info] TOTAL targets: modified=1, unchanged=0, failed=67, elapsed-time=2.1s
[FAIL] ! atm_fields_bounds_mod.mod: depends on failed target: atm_fields_bounds_mod.o
[FAIL] ! atm_fields_bounds_mod.o: update task failed
[FAIL] ! bl_option_mod.mod : depends on failed target: bl_option_mod.o
[FAIL] ! bl_option_mod.o : update task failed
[FAIL] ! cable_other_constants_mod.mod: depends on failed target: cable_other_constants_mod.o
[FAIL] ! cable_other_constants_mod.o: update task failed
[FAIL] ! cable_prognostic_info_mod.mod: depends on failed target: cable_prognostic_info_mod.o
[FAIL] ! cable_prognostic_info_mod.o: update task failed
[FAIL] ! chemistry_constants_mod.mod: depends on failed target: chemistry_constants_mod.o
[FAIL] ! chemistry_constants_mod.o: update task failed
[FAIL] ! clim_calc.o : depends on failed target: missing_data_mod.mod
[FAIL] ! conversions_mod.mod : depends on failed target: conversions_mod.o
[FAIL] ! conversions_mod.o : update task failed
[FAIL] ! data_parameters.mod : depends on failed target: data_parameters.o
[FAIL] ! data_parameters.o : update task failed
[FAIL] ! datetime_utils_mod.mod: depends on failed target: datetime_utils_mod.o
[FAIL] ! datetime_utils_mod.o: update task failed
[FAIL] ! diag_swchs.mod : depends on failed target: diag_swchs.o
[FAIL] ! diag_swchs.o : update task failed
[FAIL] ! disaggregated_precip.mod: depends on failed target: disaggregated_precip.o
[FAIL] ! disaggregated_precip.o: update task failed
[FAIL] ! drdat.o : depends on failed target: io_constants.mod
[FAIL] ! dust_parameters_mod.mod: depends on failed target: dust_parameters_mod.o
[FAIL] ! dust_parameters_mod.o: update task failed
[FAIL] ! errormessagelength_mod.mod: depends on failed target: errormessagelength_mod.o
[FAIL] ! errormessagelength_mod.o: update task failed
[FAIL] ! imogen_anlg_vals.mod: depends on failed target: imogen_anlg_vals.o
[FAIL] ! imogen_anlg_vals.o : depends on failed target: missing_data_mod.mod
[FAIL] ! imogen_clim.mod : depends on failed target: imogen_clim.o
[FAIL] ! imogen_clim.o : update task failed
[FAIL] ! imogen_constants.mod: depends on failed target: imogen_constants.o
[FAIL] ! imogen_constants.o : update task failed
[FAIL] ! imogen_drive_vars.mod: depends on failed target: imogen_drive_vars.o
[FAIL] ! imogen_drive_vars.o : update task failed
[FAIL] ! imogen_time.mod : depends on failed target: imogen_time.o
[FAIL] ! imogen_time.o : update task failed
[FAIL] ! io_constants.mod : depends on failed target: io_constants.o
[FAIL] ! io_constants.o : update task failed
[FAIL] ! max_dimensions.mod : depends on failed target: max_dimensions.o
[FAIL] ! max_dimensions.o : update task failed
[FAIL] ! missing_data_mod.mod: depends on failed target: missing_data_mod.o
[FAIL] ! missing_data_mod.o : update task failed
[FAIL] ! mpi.mod : depends on failed target: mpi.o
[FAIL] ! mpi.o : update task failed
[FAIL] ! mpi_init.o : update task failed
[FAIL] ! nlsizes_namelist_mod.mod: depends on failed target: nlsizes_namelist_mod.o
[FAIL] ! nlsizes_namelist_mod.o: update task failed
[FAIL] ! parkind1.mod : depends on failed target: parkind1.o
[FAIL] ! parkind1.o : update task failed
[FAIL] ! planet_constants_mod.mod: depends on failed target: planet_constants_mod.o
[FAIL] ! planet_constants_mod.o: update task failed
[FAIL] ! precision_mod.mod : depends on failed target: precision_mod.o
[FAIL] ! precision_mod.o : update task failed
[FAIL] ! radf_co2.o : update task failed
[FAIL] ! redis.o : update task failed
[FAIL] ! response.o : update task failed
[FAIL] ! rndm.o : update task failed
[FAIL] ! solinc_data.mod : depends on failed target: solinc_data.o
[FAIL] ! solinc_data.o : update task failed
[FAIL] ! switches.mod : depends on failed target: switches.o
[FAIL] ! switches.o : update task failed
[FAIL] ! theta_field_sizes.mod: depends on failed target: theta_field_sizes.o
[FAIL] ! theta_field_sizes.o : update task failed
[FAIL] ! timestep_mod.mod : depends on failed target: timestep_mod.o
[FAIL] ! timestep_mod.o : update task failed
[FAIL] ! water_constants_mod.mod: depends on failed target: water_constants_mod.o
[FAIL] ! water_constants_mod.o: update task failed
[FAIL] make build # 7.5s
[FAIL] make # 18.3s

Hi Ayesha
Thanks for trying it with meto-linux-gfortran. It’s too bad that it didn’t help. How difficult would it be for you to switch this development work for your suite from Monsoon to JASMIN? It would be somewhat easier for me to help you there. I am not necessarily asking you to switch right now; I just want to hear what you have to say.
Patrick

Hi Patrick, I copied this suite from u-ah284 which is most suited for Monsoon (and isn’t set up for JASMIN I don’t think). I can try to switch to JASMIN but I just tried it out and didn’t get very far at all :frowning: Thanks, Ayesha

Hi Ayesha:
Have you tried u-al752 on JASMIN or Monsoon? That works for JASMIN, as well as some other computers.

There’s a tutorial for how to use u-al752 on JASMIN:

Patrick
P.S.: Also, with u-al752, you don’t need to compile the pre-builds for the jules.exe code. The suite does it for you.

Hi Ayesha:
Did you receive my reply from 29 September? I am happy to try to help, but I would like to know if u-al752 (on JASMIN and possibly Monsoon) is a viable alternative.
Patrick

Hi Patrick, yes sorry I did get your reply. I’ve used u-al752 before but it doesnt have the site that I’m interested in (BiFOR face site in Birmingham UK).

The suite I’m using (u-cp976) has options on it to be used on Monsoon, UoE, and Met Office Local, so it might be possible to port it to Jasmin, I just don’t know how.

Do you know if there’s an easy way to change the suite so instead of compiling the pre-builds for jules.exe I can just point the suite to the version of Jules I want?

Thanks,

Ayesha

Hi Ayesha
Thank you for answering.

It’s probably not too hard to add the BiFOR FACE site to u-al752.

I am personally working now on adding the NEON sites to u-al752. I am not sure how long this will take.

It’s probably not too hard to port u-cp976 to JASMIN.

And it’s probably not too hard to add the ability to build JULES to u-cp976 so that you don’t have to use pre-builds. Since u-al752 can build JULES, the way to add the build capability to u-cp976 is to compare u-al752 to u-cp976 and figure out what is needed to change in order to add the build capability to u-cp976.

Patrick

Hi Ayesha:
I am running the u-al752 suite on Monsoon right now. Currently, the newest version of u-al752 (the suite that doesn’t use pre-builds) is set up to build JULES 6.2, and it is at this moment building/compiling JULES for me.

You can see the settings for compiling/building JULES in the [[FCM_MAKE_MONSOON]] section of:
~/roses/u-al752/site/suite.rc.MONSOON

In the suite.rc.MONSOON file, you’ll see that it uses JULES_PLATFORM=meto-xc40-cce. Maybe you can use that setting when you try to pre-build JULES on MONSOON?
Patrick

Hi Ayesha:
I tried using JULES_PLATFORM=meto-xc40-cce, and when I try to load the proper module files on MONSOON, and then try to run the Cray compiler ftn on the MONSOON node xcslc0, I get an error that I don’t have the proper license to run ftn. I am not sure if you get the same errors or not.
Patrick

Hi Patrick,

Thanks so much! I chatted with Karina (u-cp976 is a copy of her suite u-ah284) and she recommended I try to stick with building separately outside the suite (so sticking with jules.exe instead of adding fcm make to the suite).

What do you type when pre building jules? I just tried (copying from the suite.rc.MONSOON from u-al752):
ahussain@xcslc0:~/MODELS/vn6.0_jules> export JULES_OMP=omp
ahussain@xcslc0:~/MODELS/vn6.0_jules> export JULES_PLATFORM=meto-xc40-cce
ahussain@xcslc0:~/MODELS/vn6.0_jules> export JULES_BUILD=normal
ahussain@xcslc0:~/MODELS/vn6.0_jules> export JULES_REMOTE=local
ahussain@xcslc0:~/MODELS/vn6.0_jules> fcm make -j 2 -f etc/fcm-make/make.cfg --new

But I got these error messages:
[init] make # 2022-10-14T09:00:48Z
[info] FCM 2021.05.0 (/common/fcm/fcm-2021.05.0)
[init] make config-parse # 2022-10-14T09:00:48Z
[info] config-file=/home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/make.cfg
[info] config-file= - /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/platform/meto-xc40-cce.cfg
[info] config-file= - - /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/platform/envars.cfg
[info] config-file= - - /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/platform/custom.cfg
[info] config-file= - - - /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/remote/local.cfg
[info] config-file= - - - /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/compiler/cray.cfg
[info] config-file= - - - /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/build/normal.cfg
[info] config-file= - - - /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/omp/omp.cfg
[info] config-file= - - - /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/ncdf/netcdf.cfg
[info] config-file= - - - /home/d03/ahussain/MODELS/vn6.0_jules/etc/fcm-make/mpi/mpi.cfg
[done] make config-parse # 0.3s
[init] make dest-init # 2022-10-14T09:00:48Z
[FAIL] make dest-init # 0.0s
[FAIL] make # 0.3s
[FAIL] /home/d03/ahussain/MODELS/vn6.0_jules/fcm-make.lock: lock exists at the destination

Do you have any tips of how to get it working?

Thanks,

Ayesha

Hi Ayesha:

I wasn’t able to get access to a license for the Cray compiler ftn​ yesterday on the MONSOON xcslc0​. But it is giving me a license today. So it seems to be working.

ssh -AY xcslc0
mkdir ~/jules
cd ~/jules
fcm checkout fcm:jules.x_tr@vn6.0 jules_vn6.0
cd jules_vn6.0
#It looks like you have a lock file, so you can delete the lock by doing this when
#you are in the jules_vn6.0 directory:
#rm -rf fcm-make.lock
module swap PrgEnv-cray PrgEnv-cray/5.2.82
module load cray-netcdf-hdf5parallel/4.3.2
module load cray-snplauncher/7.0.4
export JULES_PLATFORM=meto-xc40-cce
export JULES_BUILD=fast
export JULES_NETCDF=netcdf
fcm make -j 2 -f etc/fcm-make/make.cfg --new

It takes about 500 seconds.

Patrick

Ah it worked! Thank you so much! That was so helpful!!! Okay, I’ll see if the suite works on vn6.0 with the jules.exe, and then hopefully update it again to vn7.0.

Thank you so much again!

Ayesha

Cool!
Let me know how it goes.
Patrick

Hi Ayesha:
Can you please put the build/compile of JULES that is in u-al752 into u-cp976 for the BiFOR site? Then other people who need to use your suite won’t need to make the pre-builds. And can you also update u-ah284 so that it has this same building/compiling capability? That would reduce a lot of problems in the future.
Patrick

Hi Ayesha:
Did you receive my request here, from 3 days ago?
Patrick

Hi Patrick,

Yes I did, sorry. I’ll do it this week and let you know if I have any problems.

Thanks,

Ayesha