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

[BUG/ISSUE] Dryrun error in GEOS-Chem 12.7.0 on c5.4xlarge #38

Closed
yuexuyan opened this issue Mar 14, 2020 · 2 comments
Closed

[BUG/ISSUE] Dryrun error in GEOS-Chem 12.7.0 on c5.4xlarge #38

yuexuyan opened this issue Mar 14, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@yuexuyan
Copy link

yuexuyan commented Mar 14, 2020

Describe the issue

dryrun error in GEOSChem 12.7.0 geosfp_2x2.5_CO2 simulation on a c5.4xlrge AWS instance

To Reproduce

Include the steps that must be done in order to reproduce the observed behavior:

commands

  1. cd ~/tutorial/UT/per/CopyRunDirs.input
  2. vim CopyRunDirs.input (select geosfp_2x2.5_CO2 simulation and set time)
  3. ./gcCopyRunDirs
  4. cd ~/tutorial/geosfp_2x25_CO2
  5. vim HEMCO_Config.rc (turn GFED and FINN off),
  6. vim input.geos (set latitude & longitude and turn on plane flt diag)
  7. vim HISTORY.rc (set the frequency and duration of the Restart COLLECTION and the CO2 COLLECTION ; change the SpeciesConc COLLECTION to ALL)
  8. make realclean
  9. make -j16 build
  10. ./geos --dryrun > log.dryrun

Error messages:

At line 1027 of file input_mod.F
Fortran runtime error: Expected INTEGER for item 1 in formatted transfer, got REAL
(i10)
 ^

Error termination. Backtrace:

#0  0x14c3441e820b in require_type
        at /tmp/ubuntu/spack-stage/spack-stage-gcc-9.2.0-ss6lvrx5xrdw2fvz537f7alyak3cym2x/spack-src/libgfortran/io/transfer.c:1328
#1  0x14c3441eb27d in require_type
        at /tmp/ubuntu/spack-stage/spack-stage-gcc-9.2.0-ss6lvrx5xrdw2fvz537f7alyak3cym2x/spack-src/libgfortran/io/transfer.c:1320
#2  0x14c3441eb27d in formatted_transfer_scalar_write
        at /tmp/ubuntu/spack-stage/spack-stage-gcc-9.2.0-ss6lvrx5xrdw2fvz537f7alyak3cym2x/spack-src/libgfortran/io/transfer.c:1945
#3  0x14c3441eb64b in formatted_transfer
        at /tmp/ubuntu/spack-stage/spack-stage-gcc-9.2.0-ss6lvrx5xrdw2fvz537f7alyak3cym2x/spack-src/libgfortran/io/transfer.c:2335
#4  0x14c3441e7ee5 in wrap_scalar_transfer
        at /tmp/ubuntu/spack-stage/spack-stage-gcc-9.2.0-ss6lvrx5xrdw2fvz537f7alyak3cym2x/spack-src/libgfortran/io/transfer.c:2369
#5  0x14c3441e7ee5 in wrap_scalar_transfer
        at /tmp/ubuntu/spack-stage/spack-stage-gcc-9.2.0-ss6lvrx5xrdw2fvz537f7alyak3cym2x/spack-src/libgfortran/io/transfer.c:2346
#6  0x4c56ef in read_grid_menu
        at /home/ubuntu/tutorial/Code.GC-classic/GeosCore/input_mod.F:1027
#7  0x4cb941 in __input_mod_MOD_read_input_file
        at /home/ubuntu/tutorial/Code.GC-classic/GeosCore/input_mod.F:174
#8  0x48f56c in geos_chem
        at /home/ubuntu/tutorial/Code.GC-classic/GeosCore/main.F:386
#9  0x4033c6 in ???
#10  0x14c342f8eb96 in ???
#11  0x4033f9 in ???
#12  0xffffffffffffffff in ???

Required information

Please include the following:

  • GEOS-Chem version you are using [12.7.0]
  • Compiler version that you are using [gfortran 9.2.0]
  • netCDF and netCDF-Fortran library version: [email protected]; [email protected]
  • Computational environment [e.g. a cluster, or the AWS cloud]
  • The Amazon Machine Image (AMI) ID that you used
  • Are you using "out of the box" code, or have you made modifications? no

Input and log files to attach

CopyRunDirs.input.txt
HEMCO_Config.rc.txt
HISTORY.rc.txt
input.geos.txt
lastbuild.txt
log.dryrun.txt

  • The lastbuild file
  • The input.geos file
  • The HEMCO_Config.rc file
  • The GEOS-Chem "Classic" log file
  • The HEMCO.log file
@yuexuyan yuexuyan added the bug Something isn't working label Mar 14, 2020
@yantosca
Copy link
Contributor

Thanks for writing. I think I see the issue. Your grid definition is:

%%% GRID MENU %%%       :
Grid resolution         : 2.0x2.5
Longitude min/max       : 110.0 -160.0
Latitude  min/max       :  -47.0  30.0
 Half-sized polar boxes?: T
Number of levels        : 47
Nested grid simulation? : F
 Buffer zone (N S E W ) :  0  0  0  0

But this is tripping an error because the min longitude is greater than the max longitude. This would have generated an error message but apparently there is a Fortran Format error in the conversion of number to string.

I don't think that FlexGrid can yet handle wrapping around the date line gracefully. You can try another grid definition.

@yantosca yantosca changed the title [BUG/ISSUE] [BUG/ISSUE] Dryrun error in GEOS-Chem 12.7.0 on c5.4xlarge Mar 19, 2020
@yantosca
Copy link
Contributor

I will close out this issue. Feel free to reopen.

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

2 participants