#2405 closed help (fixed)

Error fortran compiler

Reported by: nfreychet Owned by: ros
Component: Rose/Cylc Keywords:
Cc: Platform: ARCHER
UM Version: 10.7

Description

Hi,

I am running the suite u-av080 on ARCHER using Rose.
I run um10.7.
I created a branch (from the trunk 10.7), and then modified the branch to include some modifications in the Nudging part (copied from another branch). The model builds ok, but I have an error during the recon step:

[FAIL] ftn -oo/nudging_varloader_pressure_lev.o -c -I./include -s default64 -e m -J ./include -I/work/y07/y07/umshared/gcom/cce8.4.1/gcom6.2/archer_xc30_cce_mpp/build/include -O2 -Ovector1 -hfp0 -hflex_mp=strict -h omp /work/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_varloader_pressure_lev.F90 # rc=1
[FAIL] 
[FAIL] 
[FAIL] ftn-732 crayftn: ERROR NUDGING_VARLOADER_PRESSURE_LEV, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_varloader_pressure_lev.F90, Line = 57, Column = 32 
[FAIL]   "L_ENDGAME" is not in module "DYNAMICS_INPUT_MOD".
[FAIL] 
[FAIL] Cray Fortran : Version 8.5.8 (20170217211354_0071b093c0867e302a5c08403fe34f8aa78fc212)
[FAIL] Cray Fortran : Fri Feb 16, 2018  13:50:57
[FAIL] Cray Fortran : Compile time:  0.1040 seconds
[FAIL] Cray Fortran : 495 source lines
[FAIL] Cray Fortran : 1 errors, 0 warnings, 0 other messages, 0 ansi
[FAIL] Cray Fortran : "explain ftn-message number" gives more information about each message.
[FAIL] compile    0.2 ! nudging_varloader_pressure_lev.o <- um/src/atmosphere/nudging/nudging_varloader_pressure_lev.F90
[FAIL] ftn -oo/nudging_main1.o -c -I./include -s default64 -e m -J ./include -I/work/y07/y07/umshared/gcom/cce8.4.1/gcom6.2/archer_xc30_cce_mpp/build/include -O2 -Ovector1 -hfp0 -hflex_mp=strict -h omp /work/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90 # rc=1
[FAIL] 
[FAIL] 
[FAIL] ftn-732 crayftn: ERROR NUDGING_MAIN1, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 80, Column = 42 
[FAIL]   "INTERNAL_MODEL_INDEX" is not in module "SUBMODEL_MOD".
[FAIL] 
[FAIL] 
[FAIL] ftn-732 crayftn: ERROR NUDGING_MAIN1, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 84, Column = 32 
[FAIL]   "L_ENDGAME" is not in module "DYNAMICS_INPUT_MOD".
[FAIL] 
[FAIL] 
[FAIL] ftn-232 crayftn: ERROR NUDGING_GETD1_DATA, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 1270, Column = 11 
[FAIL]   IMPLICIT NONE is specified in the local scope, therefore an explicit type must be specified for function "NO_OBJ_D1".
[FAIL] 
[FAIL] 
[FAIL] ftn-232 crayftn: ERROR NUDGING_GETD1_DATA, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 1272, Column = 8 
[FAIL]   IMPLICIT NONE is specified in the local scope, therefore an explicit type must be specified for function "D1_ADDR".
[FAIL] 
[FAIL] 
[FAIL] ftn-113 crayftn: ERROR NUDGING_GETD1_DATA, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 1272, Column = 16 
[FAIL]   IMPLICIT NONE is specified in the local scope, therefore an explicit type must be specified for data object "D1_SECTION".
[FAIL] 
[FAIL] 
[FAIL] ftn-113 crayftn: ERROR NUDGING_GETD1_DATA, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 1274, Column = 26 
[FAIL]   IMPLICIT NONE is specified in the local scope, therefore an explicit type must be specified for data object "D1_ITEM".
[FAIL] 
[FAIL] 
[FAIL] ftn-745 crayftn: ERROR NUDGING_GETD1_DATA, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 1276, Column = 11 
[FAIL]   The case value is not the same type as the case expression in the SELECT CASE statement.
[FAIL] 
[FAIL] 
[FAIL] ftn-113 crayftn: ERROR NUDGING_GETD1_DATA, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 1277, Column = 29 
[FAIL]   IMPLICIT NONE is specified in the local scope, therefore an explicit type must be specified for data object "D1_GRID_TYPE".
[FAIL] 
[FAIL] 
[FAIL] ftn-745 crayftn: ERROR NUDGING_GETD1_DATA, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 1280, Column = 11 
[FAIL]   The case value is not the same type as the case expression in the SELECT CASE statement.
[FAIL] 
[FAIL] 
[FAIL] ftn-745 crayftn: ERROR NUDGING_GETD1_DATA, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 1284, Column = 11 
[FAIL]   The case value is not the same type as the case expression in the SELECT CASE statement.
[FAIL] 
[FAIL] 
[FAIL] ftn-745 crayftn: ERROR NUDGING_GETD1_DATA, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 1298, Column = 12 
[FAIL]   The case value is not the same type as the case expression in the SELECT CASE statement.
[FAIL] 
[FAIL] 
[FAIL] ftn-113 crayftn: ERROR NUDGING_GETD1_DATA, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 1299, Column = 28 
[FAIL]   IMPLICIT NONE is specified in the local scope, therefore an explicit type must be specified for data object "D1_ADDRESS".
[FAIL] 
[FAIL] 
[FAIL] ftn-113 crayftn: ERROR NUDGING_GETD1_DATA, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 1300, Column = 28 
[FAIL]   IMPLICIT NONE is specified in the local scope, therefore an explicit type must be specified for data object "D1_LENGTH".
[FAIL] 
[FAIL] 
[FAIL] ftn-113 crayftn: ERROR NUDGING_GETD1_DATA, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 1313, Column = 22 
[FAIL]   IMPLICIT NONE is specified in the local scope, therefore an explicit type must be specified for data object "D1".
[FAIL] 
[FAIL] 
[FAIL] ftn-508 crayftn: ERROR NUDGING_GETD1_DATA, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 1313, Column = 22 
[FAIL]   The parent-string of a substring reference must be of type character.
[FAIL] 
[FAIL] 
[FAIL] ftn-745 crayftn: ERROR NUDGING_GETD1_DATA, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 1334, Column = 12 
[FAIL]   The case value is not the same type as the case expression in the SELECT CASE statement.
[FAIL] 
[FAIL] 
[FAIL] ftn-508 crayftn: ERROR NUDGING_GETD1_DATA, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 1350, Column = 22 
[FAIL]   The parent-string of a substring reference must be of type character.
[FAIL] 
[FAIL] 
[FAIL] ftn-745 crayftn: ERROR NUDGING_GETD1_DATA, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 1358, Column = 12 
[FAIL]   The case value is not the same type as the case expression in the SELECT CASE statement.
[FAIL] 
[FAIL] 
[FAIL] ftn-508 crayftn: ERROR NUDGING_GETD1_DATA, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 1374, Column = 22 
[FAIL]   The parent-string of a substring reference must be of type character.
[FAIL] 
[FAIL] 
[FAIL] ftn-745 crayftn: ERROR NUDGING_GETD1_DATA, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 1382, Column = 12 
[FAIL]   The case value is not the same type as the case expression in the SELECT CASE statement.
[FAIL] 
[FAIL] 
[FAIL] ftn-508 crayftn: ERROR NUDGING_GETD1_DATA, File = ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos/src/um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90, Line = 1398, Column = 22 
[FAIL]   The parent-string of a substring reference must be of type character.
[FAIL] 
[FAIL] Cray Fortran : Version 8.5.8 (20170217211354_0071b093c0867e302a5c08403fe34f8aa78fc212)
[FAIL] Cray Fortran : Fri Feb 16, 2018  13:51:41
[FAIL] Cray Fortran : Compile time:  0.2520 seconds
[FAIL] Cray Fortran : 1715 source lines
[FAIL] Cray Fortran : 21 errors, 0 warnings, 0 other messages, 0 ansi
[FAIL] Cray Fortran : "explain ftn-message number" gives more information about each message.
[FAIL] compile    0.5 ! nudging_main1.o      <- um/src/atmosphere/nudging/nudging_main1-nudging_main1.F90
[FAIL] link      ---- ! um-atmos.exe         <- um/src/control/top_level/um_main.F90
[FAIL] ! nudging_main1.o     : update task failed
[FAIL] ! nudging_varloader_pressure_lev.o: update task failed
[FAIL] ! um-atmos.exe        : depends on failed target: nudging_main1.o
[FAIL] ! um-atmos.exe        : depends on failed target: nudging_varloader_pressure_lev.o

[FAIL] fcm make -C /work/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um -n 2 -j 6 # return-code=255
Received signal ERR
cylc (scheduler - 2018-02-16T14:31:57Z): CRITICAL Task job script received signal ERR at 2018-02-16T14:31:57Z
cylc (scheduler - 2018-02-16T14:31:57Z): CRITICAL failed at 2018-02-16T14:31:57Z

Does it mean that the Fortran code is not compatible with the ARCHER compiler? (if I try to use the branch without any modification it works well).

Cheers,
Nico

Change History (6)

comment:1 Changed 22 months ago by ros

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

Hi Nico,

It means there is an error in the Fortran changes you have made which you will need to fix.

[FAIL] ftn-732 crayftn: ERROR NUDGING_VARLOADER_PRESSURE_LEV, File =
 ../../../../../fs2/n02/n02/nfreyche/cylc-run/u-av080/share/fcm_make_um/preprocess-atmos
/src/um/src/atmosphere/nudging/nudging_varloader_pressure_lev.F90, Line = 57, Column = 32 
[FAIL]   "L_ENDGAME" is not in module "DYNAMICS_INPUT_MOD".

Cheers,
Ros.

comment:2 Changed 22 months ago by nfreychet

Ha yes sorry I didn't realized that. I'm going to have a closer look to the variable definitions.
Thanks
Nico

comment:3 Changed 22 months ago by nfreychet

Hi Ros,

The problem of variable definition is solve now (at least for the nudging branch)

I still get this error during the recon step:

????????????????????????????????????????????????????????????????????????????????
???!!!???!!!???!!!???!!!???!!!       ERROR        ???!!!???!!!???!!!???!!!???!!!
?  Error code: 4324
?  Error from routine: CHECK_IOSTAT
?  Error message:
?        Error reading namelist NLCFILES
?        IoMsg: The variable name 'RPSEED' is unrecognized in namelist input.
?        Please check input list against code.
?  Error from processor: 0
?  Error number: 0
????????????????????????????????????????????????????????????????????????????????

From what I see in my config, 'RPSEED' is defined in rose-app.conf as '$DATAM/seedfiles/$RUNID.seed'
It seems to be pretty standard (when I compare with other suites) so I don't understand why it cannot be recognized here.
(my suite (u-av080) is a copy of u-al397 https://code.metoffice.gov.uk/trac/roses-u/ticket/107 but I run on ARCHER)

Nico

comment:4 Changed 22 months ago by ros

Hi Nico,

The nlcfiles namelist is expecting rp2_seed not rpseed. rpseed was retired around vn10.6 and replaced by rp2_seed.

I notice that you are using a branch for the um metadata. It looks to me like you are trying to use 10.3 metadata in a 10.7 suite which won't work as variables have been added/deleted and will give rise to problems as per above. If the nudging code requires different metadata you will need to create a new branch of the moci repository and apply the changes that were made for the 10.3 metadata to the 10.7 metadata.

Cheers,
Ros.

comment:5 Changed 22 months ago by nfreychet

Hi Ros,

I have changed the configuration so everything is consistent with the vn10.7 I'm using now. So it solved the problem of the rpseed. (so I think this ticket can be close)

Thanks for the help.
Nico

comment:6 Changed 21 months ago by ros

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