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

build coupler error #45

Open
Lyxn opened this issue Jan 21, 2022 · 2 comments
Open

build coupler error #45

Lyxn opened this issue Jan 21, 2022 · 2 comments

Comments

@Lyxn
Copy link

Lyxn commented Jan 21, 2022

In coupler/Makefile, the src file of atmos_ocean_dep_fluxes_calc.o is $(SRCROOT)FMScoupler/full/atmos_ocean_dep_fluxes_calc.f90, but the src file's postfix is F90, not f90. It would throw errors when I built with Dockerfile.gnu.
It is the same with atmos_ocean_fluxes_calc.o.

@thomas-robinson
Copy link
Member

thomas-robinson commented Jan 21, 2022

@Lyxn This is an issue that I am aware of and have fixed on the main branch. If you change line 9 in Dockerfile.gnu to

RUN git clone --recursive https://github.com/NOAA-GFDL/AM4.git -b main \

so that it checks out main instead of the 2021.03 tag, you should be able to compile. The 2022.01 tag (hopefully coming if February 2022) will have this fixed.

I would suggest using the intel containers if you can. The GFDL does all production work using the intel compilers.

The containers in general are new and under development.

@Lyxn
Copy link
Author

Lyxn commented Jan 21, 2022

@thomas-robinson Thanks very much. I will try your advice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants