E3SM-Project / E3SM-Project/scorpio
E3SM csm_share failed to build shr_pio_mod.F90 with legacy Fortran interface
- Dominant language
- C++
- Stars
- 22
- Forks
- 20
- Avg merge
- 12d 19m
- Merged PRs (30d)
- 1
Description
This issue is reproducible on ANL GCE nodes or Chrysalis with a simple X case.
```
git clone https://github.com/E3SM-Project/E3SM.git
cd E3SM
git submodule update --init --recursive
cd externals/scorpio
git checkout master
Edit CMakeLists.txt to set PIO_USE_FORTRAN_LEGACY_LIB to ON by default
cd ../../cime/scripts
./create_newcase --case X_f19_g16 --compset X --res f19_g16
cd X_f19_g16
./case.setup
./case.build
```
Build error on Chrysalis:
```
E3SM/share/util/shr_pio_mod.F90(2): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [PIO]
use pio
------^
```
Build error on GCE nodes:
```
E3SM/share/util/shr_pio_mod.F90:2:7:
2 | use pio
| 1
Fatal Error: Cannot open module file 'pio.mod' for reading at (1): No such file or directory
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.