I downloaded the source code almost one month ago. After modifying the "makefile" file, when I type "make" I get the message:
PGF90-F-0004-Unable to open MODULE file mod_param.mod (bc_2d.f90: 635)
When I look for the ".mod" files, these are not generated. I would like to know what I have to modify in order to get those files generated.
Thanks.
Modules missing when compiling the "makefile" file
More about Modules missing when compiling the "makefile
Yes, I get the error message:
PGF90-F-0004-Unable to open MODULE file mod_param.mod (bc_2d.f90: 635)
When I type "make" it apparently works well but shortly after I receive the error message mentioned above. The "Makedepend" file is apparently built without any problems, but the ".mod" files are not built.
I have no idea what "Perl" is.I'm doing this procedure un a Linux server; I use the "Linux-pgi.mk" compiler.
Do you have any idea about my problem?
Thank you very much.
DAVID
PGF90-F-0004-Unable to open MODULE file mod_param.mod (bc_2d.f90: 635)
When I type "make" it apparently works well but shortly after I receive the error message mentioned above. The "Makedepend" file is apparently built without any problems, but the ".mod" files are not built.
I have no idea what "Perl" is.I'm doing this procedure un a Linux server; I use the "Linux-pgi.mk" compiler.
Do you have any idea about my problem?
Thank you very much.
DAVID
Do you have a file MakeDepend in your Build directory? How big is it?
It should contain lines looking like:
These tell make what order to compile the files. I suspect this is not right for you since your build is trying to happen in the wrong order. The script to build this file is written in the Perl programming language:
P.S. this thread should get moved to the FAQ.
Code: Select all
mg56 34% wc Build/MakeDepend
1609 5428 86104 Build/MakeDepend
Code: Select all
Build/master.o: ocean.h air_ocean.h waves_ocean.h cppdefs.h globaldefs.h nep5.h
Build/master.f90: ocean.h air_ocean.h waves_ocean.h cppdefs.h globaldefs.h
Build/master.f90: nep5.h
Build/master.o: Build/mod_iounits.o Build/mod_parallel.o Build/mod_param.o
Build/master.o: Build/mod_scalars.o Build/ocean_control.o Build/master.f90
Code: Select all
mg56 35% which perl
/usr/bin/perl
mg56 36% perl -v
This is perl, v5.8.3 built for x86_64-linux-thread-multi
Copyright 1987-2003, Larry Wall