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

Standalone build and ESMX compatibility ... #402

Open
uturuncoglu opened this issue Aug 21, 2023 · 0 comments
Open

Standalone build and ESMX compatibility ... #402

uturuncoglu opened this issue Aug 21, 2023 · 0 comments

Comments

@uturuncoglu
Copy link
Collaborator

uturuncoglu commented Aug 21, 2023

I am trying to build CMEPS outside of the CIME but I have some issues with standalone build. It seems that building CESM version of CMEPS with standalone mode is not working. The standalone build assumes that it is build for UFS, which I think it is not the generic approach for standalone build.

Here is my command to build standalone version at this point,

FC=mpiifort cmake -DCMAKE_INSTALL_PREFIX=../install -DPIO_C_LIBRARY=/zeus/opt/impi20.1/parallelio/2.5.9/lib -DPIO_C_INCLUDE_DIR=/zeus/opt/impi20.1/parallelio/2.5.9/include -DPIO_Fortran_LIBRARY=/zeus/opt/impi20.1/parallelio/2.5.9/lib -DPIO_Fortran_INCLUDE_DIR=/zeus/opt/impi20.1/parallelio/2.5.9/include -DCMAKE_Fortran_FLAGS="-free -DCPRINTEL -I/work/opa/ut11823/CDEPS/build/share" ../

So, i am using some shared code from CDEPS to satisfy CMEPS but I think it is not enough. I did some work to add CMakeLists.txt file to flux_atmocn and nuopc_cap_share folders and make minor mod in top level CMake file but the build complains about water_isotopes. Then, I realized that the file is in the following repo, https://github.com/ESCOMP/CESM_share/tree/main/src

So, at this point, I am lost about shared code (it think it is normal to lost for the regular users too). Which shared code needs to be used to compile CMEPS. Only the one found in the CESM_share repo? If so, why we have nuopc_cap_share directory under CMEPS. Do we still need to have flux_atmocn? (I think so since I could not see the same file in the CESM_shared). Anyway, I think that enabling standalone build for CESM configuration would be great. At this point, I am not interested in using CESM driver since I am plaining to use ESMX. Anyway, let me know what you think?

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

1 participant