Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building CCPP file radiation_aerosols.f with cime. #169

Closed
uturuncoglu opened this issue Aug 13, 2020 · 62 comments
Closed

Error building CCPP file radiation_aerosols.f with cime. #169

uturuncoglu opened this issue Aug 13, 2020 · 62 comments
Labels
bug Something isn't working

Comments

@uturuncoglu
Copy link
Collaborator

@ligiabernardet @climbfuji We are getting following error when we try to build UFS MR Weather App under CIME. I am not sure it is a know issue or not.

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5082: Syntax error, found '==' when expecting one of: <END-OF-STATEMENT> ; <END-OF-FILE>

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5082: Syntax error, found '==' when expecting one of: <END-OF-STATEMENT> ; <END-OF-FILE>

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5082: Syntax error, found '==' when expecting one of: <LABEL> <END-OF-STATEMENT> ; <IDENTIFIER> TYPE MODULE ELEMENTAL IMPURE NON_RECURSIVE ...

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5082: Syntax error, found '==' when expecting one of: <LABEL> <END-OF-STATEMENT> ; <IDENTIFIER> TYPE MODULE ELEMENTAL IMPURE NON_RECURSIVE ...

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [=]

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5082: Syntax error, found '==' when expecting one of: <END-OF-STATEMENT> ; <END-OF-FILE>

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5082: Syntax error, found '==' when expecting one of: <END-OF-STATEMENT> ; <END-OF-FILE>

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5082: Syntax error, found '==' when expecting one of: <LABEL> <END-OF-STATEMENT> ; <IDENTIFIER> TYPE MODULE ELEMENTAL IMPURE NON_RECURSIVE ...

/glade/u/home/turuncu/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5082: Syntax error, found '==' when expecting one of: <LABEL> <END-OF-STATEMENT> ; <IDENTIFIER> TYPE MODULE ELEMENTAL IMPURE NON_RECURSIVE ...

In this case, i am using release/public-v1 branch for the model and last commit is

commit 8cb21f8a40c8b262bc1b3c0c32f321fdb3244a5c
Author: JulieSchramm <schramm@ucar.edu>
Date:   Wed Jul 15 15:58:23 2020 -0600

If you could also create a case on Cheyenne using UFS MR Weather Model (or I could do it if you provide me the instructions) that could help to compare the possible differences in the build. BTW, I am using intel compiler and MPT combination.

@uturuncoglu uturuncoglu added the bug Something isn't working label Aug 13, 2020
@climbfuji
Copy link
Collaborator

Interesting ...

When I ran the regression tests yesterday for the ufs-weather-model release/public-v1 branch, everything worked on Cheyenne. See ufs-community/ufs-weather-model#186.

Are you using the correct versions of the compiler? This is the modulefile for cheyenne.intel: https://github.com/ufs-community/ufs-weather-model/blob/develop/modulefiles/cheyenne.intel/fv3

module load ncarenv/1.3
module load intel/19.1.1
module load mpt/2.19
module load ncarcompilers/0.5.0

##
## use pre-compiled NetCDF, ESMF and NCEP libraries for above compiler / MPI combination
##
module use -a /glade/p/ral/jntp/GMTB/tools/ufs-stack-20200728/intel-19.1.1/mpt-2.19/modules
module load netcdf/4.7.4
module load esmf/8.0.0

module load bacio/2.4.0
module load crtm/2.3.0
module load g2/3.4.0
module load g2tmpl/1.9.0
module load ip/3.3.0
module load nceppost/dceca26
module load nemsio/2.5.1
module load sp/2.3.0
module load w3emc/2.7.0
module load w3nco/2.4.0

module load gfsio/1.4.0
module load sfcio/1.4.0
module load sigio/2.3.0

##
## SIONlib library
##
module use -a /glade/p/ral/jntp/GMTB/tools/modulefiles/intel-19.1.1/mpt-2.19
module load SIONlib/1.7.4

##
## load cmake
##
module load cmake/3.16.4
setenv CMAKE_C_COMPILER mpicc
setenv CMAKE_CXX_COMPILER mpicxx
setenv CMAKE_Fortran_COMPILER mpif90
setenv CMAKE_Platform cheyenne.intel

@uturuncoglu
Copy link
Collaborator Author

@climbfuji CIME is using intel/19.0.5 and mpt/2.19. We did not change anything particular in the build system but it might be nice to check again build options. If you don't mind and if you have, please let me know the run and build directories on Cheyenne and I could use them to compare the configurations.

@ligiabernardet
Copy link
Collaborator

ligiabernardet commented Aug 14, 2020 via email

@uturuncoglu
Copy link
Collaborator Author

@ligiabernardet it is fine. I'll try to run the model outside the CIME and find the differences. I'll keep you posted about the progress and if I need any help.

@uturuncoglu
Copy link
Collaborator Author

@ligiabernardet I just wonder that how can i clean existing build?

@ligiabernardet
Copy link
Collaborator

ligiabernardet commented Aug 17, 2020 via email

@uturuncoglu
Copy link
Collaborator Author

@climbfuji @ligiabernardet it seems that the error is gone whan I update the model to the latest. I am still testing it and I'll double check.

@panll
Copy link
Collaborator

panll commented Aug 17, 2020

Hi, ufuk,
you can use following command to do the compiling under the tests directory :
./compile_cmake.sh $PWD/.. cheyenne.intel 'CCPP=Y' 1 YES YES

the option "Yes" is to set the clean up before and after the build.

@uturuncoglu

@uturuncoglu
Copy link
Collaborator Author

Okay. Thanks @panll.

@uturuncoglu
Copy link
Collaborator Author

Hi all, it seems that I was wrong and I am getting same error with updated code. If I try to create a new case and try to do a fresh build, it fails with

Building atm with output to /glade/scratch/turuncu/ufs-mrweather-app-workflow.c96v2/bld/atm.bldlog.200819-142748 /glade/scratch/turuncu/ufs-mrweather-app-workflow.c96v2/bld/atm/obj/FV3/ccpp/physics/physics/radiation_aerosols.f(4840): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: )

error but if I run ./case.build again. It compiles without any problem. I also try to find any possible difference but I could not fina one that could case the issue. Any suggestion? @climbfuji @ligiabernardet

@ligiabernardet
Copy link
Collaborator

ligiabernardet commented Aug 19, 2020 via email

@uturuncoglu
Copy link
Collaborator Author

Yes, I could build standalone model outside of CIME without any problem. @jedwards4b is also looking for the possible differences now.

@ligiabernardet
Copy link
Collaborator

@uturuncoglu and @jedwards4b I was able to build the App and did not encounter any problems wrt compiling /ccpp/physics/physics/radiation_aerosols.f. I could not reproduce this problem.

@uturuncoglu
Copy link
Collaborator Author

@ligiabernardet i had a problem on Cheyenne but it happens randomly. If it fails, i am running case.build again and it builds fine. I am not sure about the cause at this point. Let's keep test the app and see what happens.

@uturuncoglu
Copy link
Collaborator Author

@ligiabernardet I run the full test suite on Cheyenne using following command,

qcmd -- "export UFS_DRIVER=nems; CIME_MODEL=ufs ./create_test --xml-testlist ../../src/model/FV3/cime/cime_config/testlist.xml --xml-machine cheyenne --workflow ufs-mrweather_wo_post -j 4 --walltime 03:00:00"

but all builds failing with same error. Could you test it in your side? I am not sure about the error but it seems model related because we did not change the build options as I know. @jedwards4b what do you think? Also, running ./case.build to fix the issue seems strange too.

@rsdunlapiv
Copy link
Collaborator

@uturuncoglu sometimes when a build suddenly fixes itself after a second run, its because it was built in parallel first and the dependencies are not correct. Is the CIME build in parallel while the standalone build serial?

@uturuncoglu
Copy link
Collaborator Author

@rsdunlapiv i am not sure because in the first case the autogenerated radiation_aerosols.f is not well structured Fortran file and it causes error during compile step. There could be some bug in CCPP autogeneration step but I am not sure at this point. I'll test serial build, I think CIME uses 4 core to build the model. @ligiabernardet I just wonder that how UFS model build works? It builds parallel or serial? Also, I am not sure how CCPP preprocessing steps works.

@ligiabernardet
Copy link
Collaborator

@uturuncoglu The ccpp_prebuild.py step just generates the physics caps for the requested suite(s). It is described here.

Can @llpcarson shed any light on whether the UFS Weather Models builds in serial or parallel mode?

@jedwards4b
Copy link
Collaborator

@ligiabernardet I don't think that this has anything to do with build order - you can clearly see the misformatted lines in the file.

@llpcarson
Copy link
Collaborator

llpcarson commented Aug 21, 2020 via email

@ligiabernardet
Copy link
Collaborator

ligiabernardet commented Aug 21, 2020 via email

@ligiabernardet
Copy link
Collaborator

@climbfuji Do you have any idea what can cause this problem that Jim and Ufuk reported? They cannot compile the code, but at a second attempt it works. Linlin and I were not able to reproduce the problem using the updated CIME on Hera or Cheyenne.

@climbfuji
Copy link
Collaborator

climbfuji commented Aug 24, 2020 via email

@uturuncoglu
Copy link
Collaborator Author

@climbfuji module purge also exist in the CIME interface. I also compared that specific source file with old version of model that was used in 1.0 and it seems that source file is same and did not change since last release. It is strange but it gives error sometimes.

@climbfuji
Copy link
Collaborator

Can I check out the latest version using branch release/public-v1 of the ufs-mrweather-app and then use the manage externals utility?

@uturuncoglu
Copy link
Collaborator Author

@climbfuji yes you could test it with latest version of app but you need to use ufs_fix branch for CIME. This will be merged with CIME later. Here is the instructions to test,

export UFS_DRIVER=nems
git clone https://github.com/ufs-community/ufs-mrweather-app.git
cd ufs-mrweather-app
git checkout ufs-release-v1.1
./manage_externals/checkout_externals
cd cime/scripts
git checkout ups_fix
CIME_MODEL=ufs ./create_newcase --compset GFSv15p2 --res C96 --case ufs-mrweather-app-workflow.c96 --workflow ufs-mrweather
cd ufs-mrweather-app-workflow.c96
./case.setup
NOTE:  add input_type = "gaussian_netcdf" to user_nl_ufsatm
./xmlchange RUN_STARTDATE=2020-02-02
./xmlchange DOUT_S=FALSE
./xmlchange STOP_OPTION=nhours
./xmlchange STOP_N=36
./xmlchange JOB_WALLCLOCK_TIME=00:30:00
./xmlchange USER_REQUESTED_WALLTIME=00:30:00
./case.build
./case.submit

@uturuncoglu
Copy link
Collaborator Author

BTW, currently I am running full CIME test suite again. I also did it at the weekend and only two test failed with the compile error even with sequential build (make -j 1). So, the error is not consistent.

  SMS_Lh3_D.C192.GFSv16beta.cheyenne_intel (Overall: FAIL) details:
    FAIL SMS_Lh3_D.C192.GFSv16beta.cheyenne_intel MODEL_BUILD time=75
  SMS_Lh3_D.C96.GFSv16beta.cheyenne_intel (Overall: FAIL) details:
    FAIL SMS_Lh3_D.C96.GFSv16beta.cheyenne_intel MODEL_BUILD time=75

@climbfuji
Copy link
Collaborator

Don't think it matters but are you using tcsh or bash on cheyenne?

@jedwards4b jedwards4b changed the title Error building CCPP Error building CCPP file radiation_aerosols.f with cime. Aug 28, 2020
@ligiabernardet
Copy link
Collaborator

ligiabernardet commented Aug 28, 2020 via email

@uturuncoglu
Copy link
Collaborator Author

@climbfuji Thanks.

@climbfuji
Copy link
Collaborator

@climbfuji
Copy link
Collaborator

All these PRs were merged, should be ready to test.

@climbfuji
Copy link
Collaborator

And I can confirm that ncep_post no longer depends on libsz on hera and jet (these were the only "bad" machines).

@uturuncoglu
Copy link
Collaborator Author

@climbfuji okay, i am updating the app. I'll let you know when it is ready

@uturuncoglu
Copy link
Collaborator Author

@climbfuji @ligiabernardet @fossell @hertneky Here is the instruction to test the updated app. I tested on Cheyenne and it seems working

export UFS_DRIVER=nems
git clone https://github.com/ufs-community/ufs-mrweather-app.git
cd ufs-mrweather-app
git checkout ufs-release-v1.1
./manage_externals/checkout_externals
cd cime/scripts/
./create_newcase --compset GFSv15p2 --res C96 --case ufs-mrweather-app-workflow.c96 --workflow ufs-mrweather
cd ufs-mrweather-app-workflow.c96/
./case.setup
./case.build
./xmlchange DOUT_S=FALSE
./xmlchange STOP_OPTION=nhours
./xmlchange STOP_N=36
./xmlchange JOB_WALLCLOCK_TIME=00:30:00
./xmlchange USER_REQUESTED_WALLTIME=00:30:00
./case.submit

BTW, my first build attempt failed with same way and if you want to look at the build log, it is in /glade/scratch/turuncu/ufs-mrweather-app-workflow.c96/bld/atm.bldlog.200828-141511. I also check the radiation_aerosols.f file but i could not see any problem with it. It is very strange. The second ./case.build works fine as expected.

Notes:

  1. if you need to use custom post flat files, you need to put them into SourceMods/src.ufsatm using same naming convention.

  2. Do not forget the change the name of the default input file (it is under icfiles/201908/20190829) as atm.input.ic.grb2. Since we change the file naming convention, all the files must follow the following convention.

  • NEMSIO - atm.input.ic.nemsio and sfc.input.ic.nemsio
  • GRIB2 - atm.input.ic.grb2
  • NETCDF - atm.input.ic.nc and sfc.input.ic.nc

@hertneky
Copy link

hertneky commented Aug 28, 2020

@uturuncoglu Under notes 2. I don't see any files existing in icfiles/201908/20190829. Am I missing something?

@uturuncoglu
Copy link
Collaborator Author

@hertneky it must be in $UFS_INPUTDATA/ufs_inputdata/icfiles/201908/20190829. If you are trying on Cheyyene it must work fine but for other platforms you need to copy the file from following FTP link.

https://ftp.emc.ncep.noaa.gov/EIB/UFS/inputdata/201908/20190829/

This just for IC and other files will be downloaded automatically. ,

BTW, i defined following variables on Orion.

export WORK=/work/noaa/nems/tufuk
export UFS_INPUT=$WORK
export UFS_INPUTDATA=$WORK
export UFS_SCRATCH=$WORK

@hertneky
Copy link

@uturuncoglu I am running on Cheyenne. What should $UFS_INPUT be on Cheyenne? For v1.0, I did setenv $UFS_INPUT $CESMDATAROOT -> giving a full path of /glade/p/cesmdata/cseg/ufs_inputdata/icfiles/201908/20190829, which does not contain any files. Does $UFS_INPUT need to be changed to point somewhere else.

@uturuncoglu
Copy link
Collaborator Author

@hertneky sorry, i moved them for testing and I forgot it. could you try again. sorry again.

@hertneky
Copy link

@uturuncoglu that works now - thanks

@hertneky
Copy link

@uturuncoglu Testing flat file customization complete and working as visualized/intended for updated v1.1 on Cheyenne. See #174 for details.

@uturuncoglu
Copy link
Collaborator Author

@ligiabernardet @climbfuji I am testing model on Stampede and trying to create a new baseline with Intel compiler. The build is giving similar error also in that platform. It is not reproducible and some cases build without any problem.

Finished MODEL_BUILD for test SMS_Lh3_D.C96.GFSv15p2.stampede2-skx_intel in 63.245402 seconds (FAIL). [COMPLETED 1 of 6]
    Case dir: /scratch/01118/tg803972/SMS_Lh3_D.C96.GFSv15p2.stampede2-skx_intel.G.20200904_154442_da4ltg
    Errors were:
        Building test for SMS in directory /scratch/01118/tg803972/SMS_Lh3_D.C96.GFSv15p2.stampede2-skx_intel.G.20200904_154442_da4ltg
        /home1/01118/tg803972/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [l]
        
        /home1/01118/tg803972/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [s]
        
        /home1/01118/tg803972/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [l]
        
        /home1/01118/tg803972/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [s]
        
        /home1/01118/tg803972/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [l]
        
        /home1/01118/tg803972/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [s]
        
        /home1/01118/tg803972/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [l]
        
        /home1/01118/tg803972/UFS/ufs-mrweather-app/src/model/FV3/ccpp/physics/physics/radiation_aerosols.f(5715): error #5149: Illegal character in statement label field  [s]
        
        ERROR: BUILD FAIL: ufsatm.buildlib failed, cat /scratch/01118/tg803972/SMS_Lh3_D.C96.GFSv15p2.stampede2-skx_intel.G.20200904_154442_da4ltg/bld/atm.bldlog.200904-154514

@uturuncoglu
Copy link
Collaborator Author

@ligiabernardet @climbfuji
I am getting /work/noaa/nems/tufuk/scratch/SMS_Lh3.C96.GFSv15p2.orion_intel.20200908_163017_0550g2/bld/atm/obj/FV3/ccpp/physics/physics/radiation_aerosols.f(2197): error #5082: Syntax error, found '-' when expecting one of: <LABEL> <END-OF-STATEMENT> ; <IDENTIFIER> TYPE MODULE ELEMENTAL IMPURE NON_RECURSIVE ... type errors also on Orion.

@climbfuji
Copy link
Collaborator

@uturuncoglu how exactly are you getting the code onto orion (and cheyenne)?

@uturuncoglu
Copy link
Collaborator Author

@climbfuji i am just using manage externals. Most of the test cases are failing with build error.

@uturuncoglu
Copy link
Collaborator Author

@climbfuji For example following test failed with build error,
/work/noaa/nems/tufuk/scratch/SMS_Lh3_D.C96.GFSv16beta.orion_intel.20200908_163017_0550g2 and the log is in here /work/noaa/nems/tufuk/scratch/SMS_Lh3_D.C96.GFSv16beta.orion_intel.20200908_163017_0550g2/bld/atm.bldlog.200908-163714.

@uturuncoglu
Copy link
Collaborator Author

@climbfuji FYI, only 6/19 tests are PASSED and others are failed with build error on Orion.

@uturuncoglu
Copy link
Collaborator Author

@climbfuji I compared application versions 1.0 and the 1.1 to find any difference in the compile options for the radiation_aerosols.f file and both of them are compiled exactly same options. Also, I run full test suite with 1.0 also and I did not see any compile time error. The CHGRES is also failing for some cases in 1.0, which was working in the 1.0 release time (#179). This indicates some changes in the system level. At this point the only difference seems model versions. I'll also compare the buildlib between 1.0 and 1.1 to find any particular reason that could cause the build error.

@climbfuji
Copy link
Collaborator

@climbfuji I compared application versions 1.0 and the 1.1 to find any difference in the compile options for the radiation_aerosols.f file and both of them are compiled exactly same options. Also, I run full test suite with 1.0 also and I did not see any compile time error. The CHGRES is also failing for some cases in 1.0, which was working in the 1.0 release time (#179). This indicates some changes in the system level. At this point the only difference seems model versions. I'll also compare the buildlib between 1.0 and 1.1 to find any particular reason that could cause the build error.

I do get the build error as well when I use the CIME regression tests. The changes in the model code itself between 1.0 and 1.1 are tiny and have nothing to do with actual source code (Python 3 support for the CCPP code generator, changes in namelist templates). This smells a lot like some changes in CIME causing the compilation to fail.

@uturuncoglu
Copy link
Collaborator Author

@climbfuji Okay that is fine. I am looking into CIME to find anything. I'll try to test the build by setting GMAKE_J=1 with xmlchange. The default value is 8. To see, I could reproduce the issue also with GMAKE_J=1.

@ligiabernardet
Copy link
Collaborator

This problem stopped happening after @uturuncoglu reverted to the MRW 1.0 buildlib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

8 participants