-
Notifications
You must be signed in to change notification settings - Fork 6
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
Decide on default install location for v3.1.x #166
Comments
I built CRTMv.3.1.1 with the following command: The Then I do
The only |
When I built CRTMv3.1.1 on Hercules, it worked without problems.
|
This is a limitation of older compiler versions. What compiler /
version are you using?
I can fix this by rewriting findloc (a f2008 intrinsic) using older
minval / minloc intrinsics.
|
I am loading jedi spack stack on HERA. So, the intel compiler/version is intel/2022.1.2. |
Usually what's happening here is that the environment is trying to use gfortran compiler instead of intel, you can see what compiler its trying to use during the cmake step. |
Rebuild using the following compiler/version: make -j12 resulted in the following error message:
|
try:
Then do cmake. |
O
I will try that. Thanks! |
It worked!! The |
Great. The use of that intrinsic is a little bit problematic because it raises the base compatibility level with older compiler versions pretty high, so I think I will work on a method for replacing that intrinsic so that we can be compatible with much older versions of compilers. |
My builds on Hercules and Orion were successful.
Do you have any suggestion? I am using the binary coefficients comes with the CRTMv3.1.1 package. |
@BenjaminTJohnson, I figured out what the issue was. There is nothing wrong with the CRTMv.3.1.1 code. No worries. |
CRTMv3/src/CRTM_K_Matrix_Module.f90 Lines 710 to 717 in 229ff89
The above code block indicates that if the cloud coefficients are loaded, the aerosol coefficients need to be loaded as well. So, I modified GSI to load the aerosol coefficients for all-sky assimilation of ATMS and AMSU-A, for which the cloud coefficients are required. This resolved the issue of n_phase_elenemts difference between cloud and aerosol coefficients. |
in V3.1.0, the default install location (
make install
) was in the current build directory. This creates a lib64 directory.in V3.1.1, the default install location reverted to
/usr/local
-- not clear where that crept in.Current solution:
<...>/build> cmake -DCMAKE_INSTALL_PREFIX=./ ..
Will replicate the previous default install behavior. Of course you can use the above to set your favorite install location.
The text was updated successfully, but these errors were encountered: