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

Syntax error in CICE_RunMod.F90 #5

Open
penguian opened this issue May 22, 2024 · 1 comment · Fixed by #6
Open

Syntax error in CICE_RunMod.F90 #5

penguian opened this issue May 22, 2024 · 1 comment · Fixed by #6
Assignees

Comments

@penguian
Copy link
Collaborator

There is a syntax error on line 840 of https://github.com/ACCESS-NRI/cice4/blob/access-esm1.5/drivers/access/CICE_RunMod.F90 on the access-esm1.5 branch. The line should say

      real (kind=dbl_kind) :: cszn ! counter for history averaging

Details

Running

spack install [email protected]%[email protected] arch=linux-rocky8-x86_64

results in

...
     286    mpif90 -c -r8 -i4 -O2 -free -align all -w -ftz -convert big_endian -assume byterecl -no-vec -xHost -fp-model precise  -I. -I/scratch/tm70/pcl851/tmp/spack-stage/spack-stage-cice4-access-esm1.5-kqnj7ol67pkfdqxq5pxefvz3hdjqgk
            6g/spack-src/drivers/access -I/scratch/tm70/pcl851/tmp/spack-stage/spack-stage-cice4-access-esm1.5-kqnj7ol67pkfdqxq5pxefvz3hdjqgk6g/spack-src/source -I/scratch/tm70/pcl851/tmp/spack-stage/spack-stage-cice4-access-esm1.5-kqn
            j7ol67pkfdqxq5pxefvz3hdjqgk6g/spack-src/mpi -I/scratch/tm70/pcl851/tmp/spack-stage/spack-stage-cice4-access-esm1.5-kqnj7ol67pkfdqxq5pxefvz3hdjqgk6g/spack-src/csm_share -I. -I/g/data/tm70/pcl851/src/ACCESS-NRI/release/linux-
            rocky8-x86_64/intel-2021.8.0/oasis3-mct-access-esm1.5-4ozzazkbvdaaqjxb3zqrrhzpza2dsk4f/include/psmile.MPI1 -I/g/data/tm70/pcl851/src/ACCESS-NRI/release/linux-rocky8-x86_64/intel-2021.8.0/oasis3-mct-access-esm1.5-4ozzazkbvda
            aqjxb3zqrrhzpza2dsk4f/include -I/g/data/tm70/pcl851/src/ACCESS-NRI/release/linux-rocky8-x86_64/intel-2021.8.0/netcdf-fortran-4.6.1-c7pn3evewkepbdtkkkhjnt5p6hcaykdz/include CICE_RunMod.f90
  >> 287    CICE_RunMod.f90(840): error #5082: Syntax error, found '&' when expecting one of: %FILL <IDENTIFIER>
     288          real (kind=dbl_kind) :: & cszn
     289    ------------------------------^
     290    compilation aborted for CICE_RunMod.f90 (code 1)
  >> 291    make: *** [/scratch/tm70/pcl851/tmp/spack-stage/spack-stage-cice4-access-esm1.5-kqnj7ol67pkfdqxq5pxefvz3hdjqgk6g/spack-src/bld/Makefile:121: CICE_RunMod.o] Error 1
     292    exit 2
...
@penguian
Copy link
Collaborator Author

Waiting for review of PR #6

@penguian penguian linked a pull request Jul 30, 2024 that will close this issue
@penguian penguian moved this to In Progress in ACCESS-ESM1.5 Spack Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant