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

Missing file and compilation error in EAMxx #240

Open
odiazib opened this issue Aug 31, 2023 · 1 comment
Open

Missing file and compilation error in EAMxx #240

odiazib opened this issue Aug 31, 2023 · 1 comment
Labels
build system EAMxx integration Integration with SCREAM/EAMxx

Comments

@odiazib
Copy link
Contributor

odiazib commented Aug 31, 2023

A couple of issues when compiling EMAxx in my linux machine:

  • Missing file:
WARNING:root:wget failed with output: and errput --2023-08-31 15:51:50--
  https://portal.nersc.gov/project/e3sm/inputdata/atm/scream/init/homme_mam4xx_ne4_init.nc


  Resolving portal.nersc.gov (portal.nersc.gov)...  128.55.206.108,
  128.55.206.112, 128.55.206.110, ...

  Connecting to portal.nersc.gov (portal.nersc.gov)|128.55.206.108|:443...
  connected.

  HTTP request sent, awaiting response...  404 Not Found

  2023-08-31 15:51:55 ERROR 404: Not Found.
  Checking for file atm/scream/init/homme_mam4xx_ne4_init.nc within
  ../scream-input2

    Input file ../scream-input2/atm/scream/init/homme_mam4xx_ne4_init.nc needs to be downloaded.
    Attempting to download atm/scream/init/homme_mam4xx_ne4_init.nc from https://web.lcrc.anl.gov/public/e3sm/inputdata/ with protocol wget
    FAILED
    Attempting to download atm/scream/init/homme_mam4xx_ne4_init.nc from https://portal.nersc.gov/project/e3sm/inputdata with protocol wget
    FAILED

The file homme_mam4xx_ne4_init.nc does not exit in https://portal.nersc.gov/project/e3sm/inputdata/atm/scream/init.

To fix this issue:
I got a copy of this file from @jeff-cohere.

  • Compilation error due to mpif90

I had the following compilation error:

1947 |        call MPI_ALLREDUCE(lvec,gvec,gsize,MPI_REAL8,reduce_type,comm,ierr)
      |                          1
......
 2004 |        call MPI_ALLREDUCE(lvec,gvec,gsize,MPI_REAL8,reduce_type,comm,ierr)
      |                          2
Error: Rank mismatch between actual argument at (1) and actual argument at (2) (rank-1 and scalar)

To fix this issue, I added the following cmake command.

-D CMAKE_Fortran_FLAGS="-fallow-argument-mismatch -fallow-invalid-boz" \

This was recommended here:

@odiazib odiazib added build system EAMxx integration Integration with SCREAM/EAMxx labels Aug 31, 2023
@jeff-cohere
Copy link
Collaborator

Thanks, Oscar. Others: the missing file is only needed when we configure EAMxx to build with mam4xx, and we'll get it (or its successor) uploaded to the data server when the time comes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build system EAMxx integration Integration with SCREAM/EAMxx
Projects
None yet
Development

No branches or pull requests

2 participants