Project

General

Profile

Error Code 1002

Added by Cemre Yürük about 5 years ago

Dear all,

We are trying to install the last version of COSMO-CLM on an intel x86_64 GNU/Linux machine. We edited Fopts as we can understand from the user guide. When cclm,cfu and int2lm were compiled, the exe files were created. In addition to this, we adapted the subchain script by changing all “llsubmit” commands with “batch” and then tried to make a test run. However, it gives the following error. By the way, we tried to install the model on another machine before with the help of well-qualified engineers but it also gave the same error.

*************************
* submitting INT2LM job *
*************************
YDATE_INI 2000010100
----- start INT2CLM
   SETUP OF INT2LM
     INITIALIZATIONS
        Info about KIND-parameters:   iintegers / MPI_INT =            4
  1275069467
                                      int_ga    / MPI_INT =            4
  1275069467
     INPUT OF THE NAMELISTS
  *** NOTE: Old 10 digit date format is used for output files of INT2LM
   *** specifications of input soil main levels ***
   *** from Namelist INPUT are used       ***
   *** specifications of LM soil main levels ***
   *** from Namelist INPUT are used          ***
  *** A default set for vcoord parameters is used:            1
  *** A default set for refatm parameters is used:            2
  ERROR    *** INT2LM not compiled for use of NETCDF   ***
  ERROR    *** INT2LM not compiled for use of NETCDF   ***
  ERROR    *** INT2LM not compiled for use of NETCDF   ***
  ERROR    *** INT2LM not compiled for use of NETCDF   ***

 ==== Code information used to build this binary ====
 Binary name ....: tstint2lm

 Library name ......: int2lm
 Tag name ..........: V2_0
 Checkin-Date ......: 2013-11-01 14:28:13
 Code is modified ..: .false.
 Compile-Date ......:
 Compiled by .......: uschaett

 Current start time : 2015-06-23 17:09
 Running on nodes ..:
 Data decomposition :
 ==== End of code information ====

 *------------------------------------------------------------*
 *    PROGRAM TERMINATED BECAUSE OF ERRORS DETECTED
 *              IN ROUTINE:   int2lm_org
 *
 *    ERROR CODE is         1002
 *     ERROR    *** Wrong values occured in NAMELIST input ***
 *------------------------------------------------------------*
application called MPI_Abort(MPI_COMM_WORLD, 1002) - process 0

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   EXIT CODE: 234
=   CLEANING UP REMAINING PROCESSES
=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================

I would be glad if you can help me with this problem.


Replies (10)

RE: Error Code 1002 - Added by Hans-Juergen Panitz about 5 years ago

Dear Cemre,

When I look at the extract of the INT2LM log file it tells me that you used a binary named “testint2lm”.
But your Fopts tells me that you created a binary named “int2lm.exe” in directory bin.
Of course, this does not fit together.
If “testint2lm” exists somewhere in your directory I assume that it has been compiled without the "-DNETCDF” option.
This would explain the “ERROR INT2LM not compiled for use of NETCDF *”

I don’t know whether the Namelist error is a follow-up error. I assume, it is.
However,
check your INT2LM Namelist settings by reading the “misc.global” file in Directory “DOCS” of your INT2LM Version 2.0 distribution
in order to find out whether there are some changes in the Namelist.

Hans-Juergen

RE: Error Code 1002 - Added by Burkhardt Rockel about 5 years ago

The line in the output

Binary name ....: tstint2lm
is misleading. Presently the name tstint2lm is hard coded in the source code.
However, the message
  ERROR    *** INT2LM not compiled for use of NETCDF   ***
means that your "-DNETCDF” option does not work during the compilation. There is probably an error in your “Fopts”. Please ask your colleagues who use the same computer or your local system administrators to check this.

RE: Error Code 1002 - Added by Cemre Yürük almost 5 years ago

Dear all,

We got ” ERROR * Wrong values occured in NAMELIST input *” without NETCDF error.

How can we debug namelist(which namelist has a wrong values)?

Thanks for your time.

 *************************
 * submitting INT2LM job *
 *************************
 YDATE_INI 2000010100
 ----- start INT2CLM
    SETUP OF INT2LM
      INITIALIZATIONS
         Info about KIND-parameters:   iintegers / MPI_INT =            4           7
                                       int_ga    / MPI_INT =            4           7
      INPUT OF THE NAMELISTS
    *** NOTE: Old 10 digit date format is used for output files of INT2LM
    *** specifications of input soil main levels ***
    *** from Namelist INPUT are used       ***
    *** specifications of LM soil main levels ***
    *** from Namelist INPUT are used          ***
    *** A default set for vcoord parameters is used:            1
    *** A default set for refatm parameters is used:            2

  ==== Code information used to build this binary ====
  Binary name ....: tstint2lm

  Library name ......: int2lm
  Tag name ..........: V2_0
  Checkin-Date ......: 2013-11-01 14:28:13
  Code is modified ..: .false.
  Compile-Date ......:
  Compiled by .......: uschaett

  Current start time : 2015-08-28 22:26
  Running on nodes ..:
  Data decomposition :
  ==== End of code information ====

  *------------------------------------------------------------*
  *    PROGRAM TERMINATED BECAUSE OF ERRORS DETECTED
  *              IN ROUTINE:   int2lm_org
  *
  *    ERROR CODE is         1002
  *     ERROR    *** Wrong values occured in NAMELIST input ***
  *------------------------------------------------------------*
 --------------------------------------------------------------------------
 MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD with errorcode 1002.

 NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
 You may or may not see output from other processes, depending on exactly when Open MPI kills them.
 --------------------------------------------------------------------------

RE: Error Code 1002 - Added by Hans-Juergen Panitz almost 5 years ago

Dear Cemre,

no, there is no debug possibility for namelists.
You have to

- check your namelist for typing errors
- and/or compare your namelist with the User Guide that corresponds to the INT2LM version your are using in order to find out whether your namelist settings are still consistent with the INT2LM version; reading the misc.global in the DOCS directory might also help
- and/or look into the source code
- provide some more information, for example the version no. of our INT2LM and your namelist settings (e.g. the ASCII file “INPUT” from which INT2LM reads the namelists).

Hans-Juergen

RE: Error Code 1002 - Added by Vladimir Platonov over 3 years ago

Dear colleagues, I have faced the similar problem during the int2lm run. In attached slurm-84285.out it writes:

ERROR    * yinext_form_read
netCDF format not implemented for the chosen input model
ERROR *
yin_form_read
netCDF format not implemented for the chosen input model

and then crashes with errorcode 1002. I'm attaching the INPUT file also.
By the way, the netcdf commands are working correctly, other tasks with the same (!) file are going OK. Could you suggest something about these confusion? Or it could be associated with the local supercomputer properties and options?
Thank you very much!

RE: Error Code 1002 - Added by Burkhardt Rockel over 3 years ago

Please always check first whether you namelist parameters are valid for the INT2LM version you use:
e.g. lprog_qni=.TRUE., lprog_qn_crsg=.TRUE.,
are no valid namelist parameters in int2lm2.0_clm4. They are in introduced in version int2lm2.1 which is not a supported CLM-Community version.

RE: Error Code 1002 - Added by Eva Nowatzki over 1 year ago

Dear all,
I have also faced a very similar Problem while running INT2LM. I get the following Errors:

  0:      INPUT OF THE NAMELISTS
  0: Namelist-ERROR CONTRL: invalid reference to variable in NAMELIST input, unit 21, file /mnt/lustre02/work/bb0937/Ref_run/joboutputs/int2lm/1999_11/INPUT, line 6, position 15
  0:   ERROR    *** while reading NAMELIST Group /CONTRL/ ***
  0:   *** A default set for vcoord parameters is used:            2
  0:   *** A  default set for refatm parameters is used:            2
  0:   ERROR    *** yinext_form_read 
  0:         netCDF format not implemented for the chosen input model
  0:   ERROR    *** yin_form_read 
  0:         netCDF format not implemented for the chosen input model

and it also crashes with Error Code 1002. We cannot find a solution for this problem, so I would be very grateful for your help.
Thank you very much!
Eva

RE: Error Code 1002 - Added by Burkhardt Rockel over 1 year ago

The namelist looks fine at a first glance. It seems as if the line yinput_model='CM', is not read properly.
Can you copy the line PRINT *, lgme2lm, lgsf2lm, lgsm2lm, lec2lm, lum2lm, lhir2lm near the line 5136 so that it looks like below, compile, run the program again and post the error message?

  IF (.NOT. (llm2lm .OR. lcm2lm .OR. licon2lm)) THEN
    IF (TRIM(yinext_form_read) == 'ncdf') THEN
      PRINT *,' ERROR    *** yinext_form_read '
      PRINT *,'       netCDF format not implemented for the chosen input model'
      PRINT *, lgme2lm, lgsf2lm, lgsm2lm, lec2lm, lum2lm, lhir2lm
      ierrstat = 1002
    ENDIF
    IF (TRIM(yin_form_read) == 'ncdf') THEN
      PRINT *,' ERROR    *** yin_form_read '
      PRINT *,'       netCDF format not implemented for the chosen input model'
     ierrstat = 1002
    ENDIF
  ENDIF

RE: Error Code 1002 - Added by Eva Nowatzki over 1 year ago

Thank you very much for your quick help. The error message now Looks like:

  0:      INPUT OF THE NAMELISTS
  0: Namelist-ERROR CONTRL: invalid reference to variable in NAMELIST input, unit 21, file /mnt/lustre02/work/bb0937/Ref_run/joboutputs/int2lm/1999_11/INPUT, line 6, position 15
  0:   ERROR    *** while reading NAMELIST Group /CONTRL/ ***
  0:   *** A default set for vcoord parameters is used:            2
  0:   *** A  default set for refatm parameters is used:            2
  0:   ERROR    *** yinext_form_read 
  0:         netCDF format not implemented for the chosen input model
  0:  F F F F F F
  0:   ERROR    *** yin_form_read 
  0:         netCDF format not implemented for the chosen input model

RE: Error Code 1002 - Added by Burkhardt Rockel over 1 year ago

I just realised that I overlooked the line

Namelist-ERROR CONTRL: invalid reference to variable in NAMELIST input, unit 21, file /mnt/lustre02/work/bb0937/Ref_run/joboutputs/int2lm/1999_11/INPUT, line 6, position 15

Actually the parameter lbalance_pp (which is in your namelist at line 6) is no namelist parameter anymore and thus the reading of the namelist stopped at that point. Please remove the parameter, it is always set to .TRUE. in the program code itself.

    (1-10/10)