Ask Your Question
0

Error in jobcomp

asked 2022-09-09 10:54:51 +0100

This is CROSS_MATRIX: Creating new version of Make.depend.

gmake: Circular par_pisces.mod <- par_pisces.o dependency dropped. m2c -o par_pisces.o par_pisces.mod gmake: m2c: Command not found gmake: * [par_pisces.o] Error 127

edit retag flag offensive close merge delete

6 answers

Sort by » oldest newest most voted
0

answered 2023-07-04 07:09:18 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >5 is welcome to improve it.

The same error persists even for the compilation of the croco version 1.3:

mpif90 -c -O3 -fdefault-real-8 -fdefault-double-8 -mcmodel=large -fallow-argument-mismatch pisces_ini_.f90 -o pisces_ini.o make: Circular oce_sed.mod <- oce_sed.o dependency dropped. m2c -o oce_sed.o oce_sed.mod make: m2c: No such file or directory make: * [<builtin>: oce_sed.o] Error 127 rm oce_sed.mod mv: cannot stat 'croco': No such file or directory

Please help.

edit flag offensive delete link more
0

answered 2023-05-12 01:10:09 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >5 is welcome to improve it.

Hi all, finally what was the solution for this error? I have a similar problem (I guess). When I try to compile with ./jobcomp considering "define AGRIF" in cppdefs.h I get an error similar to the one reported in this post. I clarify that when I don't define AGRIF ("undef AGRIF") in cppdefs.h the compilation concludes well. I attach my jobcomp.log to kindly give me your help. It is important for me to move forward with my research and this issue has me a bit behind.

I look forward to hearing from you soon :)

regards, César. C:\fakepath\jobcomp.log

edit flag offensive delete link more
0

answered 2022-09-21 14:30:09 +0100

[siddharth@localhost OCEAN]$ ./jobcomp OPERATING SYSTEM IS: Linux cp: cannot stat ‘../croco/OCEAN/PISCES/namelist_pisces*’: No such file or directory file namelist_pisces copied from source directory Checking COMPILEAGRIF... Checking COMPILEMPI... Checking COMPILEXIOS... Checking COMPILEOASIS... Checking COMPILEOMP... cpp -traditional -DLinux -P -I/home/kbcaos/netcdf_install/include -ICROCOFILES/AGRIF_INC mpc.F > mpc_.f gfortran -O3 -fdefault-real-8 -fdefault-double-8 -o mpc mpc_.f cpp -traditional -DLinux -P -I/home/kbcaos/netcdf_install/include -ICROCOFILES/AGRIF_INC cppcheck.F | ./mpc > cppcheck_.f gfortran -c -O3 -fdefault-real-8 -fdefault-double-8 cppcheck_.f -o cppcheck.o gfortran -O3 -fdefault-real-8 -fdefault-double-8 -o cppcheck cppcheck.o cat cppdefs.h cppdefs_dev.h > mergcpp.txt ./cppcheck

This is CPPCHECK: Creating new version of check_switches1.F.

cpp -traditional -DLinux -P -I/home/kbcaos/netcdf_install/include -ICROCOFILES/AGRIF_INC checkkwds.F | ./mpc > checkkwds_.f gfortran -c -O3 -fdefault-real-8 -fdefault-double-8 checkkwds_.f -o checkkwds.o gfortran -O3 -fdefault-real-8 -fdefault-double-8 -o checkkwds checkkwds.o rm -f setup_kwds.F ./checkkwds

This is CHECKKWDS: Creating new version of "setup_kwds.F".

cpp -traditional -DLinux -P -I/home/kbcaos/netcdf_install/include -ICROCOFILES/AGRIF_INC cross_matrix.F | ./mpc > cross_matrix_.f gfortran -c -O3 -fdefault-real-8 -fdefault-double-8 cross_matrix_.f -o cross_matrix.o gfortran -O3 -fdefault-real-8 -fdefault-double-8 -o cross_matrix cross_matrix.o ./cross_matrix *.F90 *.F

This is CROSS_MATRIX: Creating new version of Make.depend.

cpp -traditional -DLinux -P -I/home/kbcaos/netcdf_install/include -ICROCOFILES/AGRIF_INC srcscheck.F | ./mpc > srcscheck_.f gfortran -c -O3 -fdefault-real-8 -fdefault-double-8 srcscheck_.f -o srcscheck.o gfortran -O3 -fdefault-real-8 -fdefault-double-8 -o srcscheck srcscheck.o rm -f check_srcs.F cpp -traditional -DLinux -P -I/home/kbcaos/netcdf_install/include -ICROCOFILES/AGRIF_INC insert_node.F | ./mpc > insert_node_.f gfortran -c -O3 -fdefault-real-8 -fdefault-double-8 insert_node_.f -o insert_node.o cpp -traditional -DLinux -P -I/home/kbcaos/netcdf_install/include -ICROCOFILES/AGRIF_INC lenstr.F | ./mpc > lenstr_.f gfortran -c -O3 -fdefault-real-8 -fdefault-double-8 lenstr_.f -o lenstr.o cpp -traditional -DLinux -P -I/home/kbcaos/netcdf_install/include -ICROCOFILES/AGRIF_INC partit.F > partit._.f gfortran -c -O3 -fdefault-real-8 -fdefault-double-8 partit._.f -o partit.o gfortran -O3 -fdefault-real-8 -fdefault-double-8 -o partit partit.o insert_node.o lenstr.o -L/home/kbcaos/netcdf_install/lib -lnetcdff -L/home/kbcaos/netcdf_install/lib -lnetcdf -lnetcdf cpp -traditional -DLinux -P -I/home/kbcaos/netcdf_install/include -ICROCOFILES/AGRIF_INC ncjoin.F | ./mpc > ncjoin._.f gfortran -c -O3 -fdefault-real-8 -fdefault-double-8 ncjoin._.f -o ncjoin.o gfortran -O3 -fdefault-real-8 -fdefault-double-8 -o ncjoin ncjoin.o lenstr.o -L/home/kbcaos/netcdf_install/lib -lnetcdff -L/home/kbcaos/netcdf_install/lib -lnetcdf -lnetcdf cpp -traditional -DLinux -P -I/home/kbcaos/netcdf_install/include -ICROCOFILES/AGRIF_INC ncrename.F | ./mpc > ncrename._.f gfortran -c -O3 -fdefault-real-8 -fdefault-double-8 ncrename._.f -o ncrename.o gfortran -O3 -fdefault-real-8 -fdefault-double-8 -o ncrename ncrename.o lenstr.o -L/home/kbcaos/netcdf_install/lib -lnetcdff -L/home/kbcaos/netcdf_install/lib -lnetcdf -lnetcdf ./cross_matrix *.F90 *.F

This is CROSS_MATRIX: Creating new version of Make.depend.

gmake: Circular par_pisces.mod <- par_pisces.o dependency dropped. m2c -o par_pisces.o par_pisces.mod gmake: m2c: Command not found gmake: * [par_pisces.o] Error 127 rm par_pisces.mod

edit flag offensive delete link more
0

answered 2022-09-15 11:49:58 +0100

Rachid gravatar image

Hi

Did you try just to remove manually the Compile directory first ?

Rachid

edit flag offensive delete link more

Comments

Hi thanks for asking but i not remobe any compile directory.

siddharthau gravatar imagesiddharthau ( 2022-09-22 13:35:06 +0100 )edit
0

answered 2022-09-14 13:00:28 +0100

Respected sir, i used Linux distribution CentOS Linux release 7.6.1810 (Core) .

gmake file is also present /usr/bin/gmake.

edit flag offensive delete link more

Comments

Please post your complete compile log

andres gravatar imageandres ( 2022-09-14 15:01:55 +0100 )edit
0

answered 2022-09-12 22:05:49 +0100

andres gravatar image

Seems gmake is not in your system. What Linux distribution do you use?

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2022-09-09 10:54:51 +0100

Seen: 192 times

Last updated: Jul 04