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

examples fail to compile #4

Open
puneet336 opened this issue Jun 16, 2021 · 1 comment
Open

examples fail to compile #4

puneet336 opened this issue Jun 16, 2021 · 1 comment

Comments

@puneet336
Copy link

Hi,
i get following error when i try to compile the examples listed in the repository -
gmake: *** No rule to make target 'diatmb.o', needed by 'diawri.o'. Stop.
this shows up with BENCH and CANAL test cases.

the BENCH and CANAL which comes as part of r4.0.6 branch14997 work fine.
please let me know if more information is required in order to fix this issue.

@puneet336
Copy link
Author

I was able to find the file from here - https://forge.ipsl.jussieu.fr/nemo/svn/NEMO/releases/release-4.0.1/src/OCE/DIA/diatmb.F90. The compilation proceeds and fails with a different error message -

/home/user1/r4.0.6_14997/src/r4.0.6_14997/tests/My_BENCH/BLD/ppsrc/nemo/trdmxl_oce.f90
/home/user1/r4.0.6_14997/src/r4.0.6_14997/tests/My_BENCH/BLD/ppsrc/nemo/usrdef_nam.f90(78): error #6784: The number of actual arguments cannot be greater than the number of dummy arguments.   [CTL_NAM]
903   IF( ios /= 0 )   CALL ctl_nam ( ios , 'namusr_def in configuration namelist', .TRUE. )
----------------------------^
/home/user1/r4.0.6_14997/src/r4.0.6_14997/tests/My_BENCH/BLD/ppsrc/nemo/usrdef_nam.f90(88): error #6784: The number of actual arguments cannot be greater than the number of dummy arguments.   [CTL_NAM]
901      IF( ios /= 0 )   CALL ctl_nam ( ios , 'nammpp in reference namelist', lwp )
-------------------------------^
/home/user1/r4.0.6_14997/src/r4.0.6_14997/tests/My_BENCH/BLD/ppsrc/nemo/usrdef_nam.f90(92): error #6784: The number of actual arguments cannot be greater than the number of dummy arguments.   [CTL_NAM]
902      IF( ios >  0 )   CALL ctl_nam ( ios , 'nammpp in configuration namelist', lwp )
-------------------------------^
compilation aborted for /home/user1/r4.0.6_14997/src/r4.0.6_14997/tests/My_BENCH/BLD/ppsrc/nemo/usrdef_nam.f90 (code 1)
fcm_internal compile failed (256)
gmake: *** [/home/user1/r4.0.6_14997/src/r4.0.6_14997/tests/My_BENCH/BLD/Makefile:3673: usrdef_nam.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake -f /home/user1/r4.0.6_14997/src/r4.0.6_14997/tests/My_BENCH/BLD/Makefile -j 20 all failed (2) at /home/user1/r4.0.6_14997/src/r4.0.6_14997/ext/FCM/bin/../lib/Fcm/Build.pm line 597.
->Make: 14 seconds
->TOTAL: 16 seconds
Build failed on Wed Jun 16 07:53:32 2021.
/home/user1/r4.0.6_14997/src/r4.0.6_14997/tests

Are the examples uploaded here compatible with nemo r4.0.6(branch - 14997) ?

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