-
Notifications
You must be signed in to change notification settings - Fork 18
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
Error compiling EMEP_MSC_W with gfortran. #43
Comments
Hi @JessMBemep In the meantime, I'll implement the changes needed to compile on gfortran 5.4.0 and push them to the code branch and will comment again when this is ready. |
Hi again, Cheers, |
Many thanks,
I'll be waiting for your mods.
regards
Jessie
|
Alternatively, you can clone the branch with the following command:
|
It works :-) |
I was compiling with gfortran and was getting error then see this post. Itried to clone the program as suggested here but not working 👍 with the following: inclonsistancey between the host name and certificate |
Don't know what is wrong here. For the time being, you could download an exact copy from my private repository: |
or perhaps try also with |
I cloned now but still get error: looks mismatch somewhere
|
it seems that you have compiled the MPI library with a different compiler version |
Manage to set the path to mpif90 but complain about netcdf:
|
it looks an os problem, I am using OSX and maybe someone who compiled a such systems could help |
Hi,
I am trying to compile EMEP_MSC_W. I already downloaded the code sources, the complementary data and tools. But some bugs arise when compiling. See detailed description bellow.
I see that you solved a similar issue in june 2018: #38
It seems you solved it in an specific dev version. Could you please indicate me what is the version (github path) that I have to download?
(I'm currently compiling OpenSource rv4.17 (201802))
Many thanks in advance
Best regards
Jessie
if(met(ix)%found == .false.) then
1
Error: Logicals at (1) must be compared with .eqv. instead of ==
make: *** [Met_ml.o] Error 1
NOTE: It disappears when substituting the logical sentences
EmisDef_ml.f90:104.56:
integer, save, dimension(NSECTORS_SNAP,3) ::snap2gnfr=(/1,3,2,4,13,5,6,7,10,
1
Error: Incompatible ranks 2 and 1 in assignment at (1)
make: *** [EmisDef_ml.o] Error 1
NOTE: It disappears when uncomment line 103 and comment 104
! integer, save, dimension(NSECTORS_SNAP) ::snap2gnfr=(/1,3,2,4,13,5,6,7,10,11,-1/)
CellMet_ml.f90:212.14:
Error: IF clause at (1) requires a scalar LOGICAL expression
CellMet_ml.f90:221.14:
Error: IF clause at (1) requires a scalar LOGICAL expression
make: *** [CellMet_ml.o] Error 1
NOTE: From: https://oss.deltares.nl/web/xbeach/forum/-/message_boards/message/456419
Some compilers (intel) support if statements with integers, some (gfortran) don't. In this case someone was probably using the intel compiler and not aware that using integers as logicals is an intel specific extension. I updated the code in subversion.
line 212: if(z0_out_ix == 1)
line 221: if(z0_out_ix == 1)
CM_ChemRates_ml.f90:137.32:
Error: Integer too big for its kind at (1). This check can be disabled with the option -fno-range-check
make: *** [CM_ChemRates_ml.o] Error 1
The text was updated successfully, but these errors were encountered: