OK, I’m not terribly good at using ‘make’ - but I think there is a configuration problem somewhere in my 12.1 x64 install. I installed all the development environments, and issued, in the correct directory, (per the docs of the ModelE GCM - which is gfortran compatible):
gmake config
…this should have made a file in my home directory with some info on my system, but it said:
patti@VBdesktop-OpenSuSE:~/Desktop/ModelE/modelE_AR5_branch/decks> gmake config
…/config/rules.mk:106: …/config/compiler.Linux.mk: No such file or directory
gmake: *** No rule to make target `…/config/compiler.Linux.mk’. Stop.
This really looks like one of those version things where parts of fortran wound up in new directories, like lib vs lib64, but I can’t find a reference. Does this ring a bell for anyone?
Thank you for the reply, Malcom! I’m sorry about the double post - I tried to find a button to delete this one since the code was in the other one, but coundn’t find it (I may be button-dyslexic). I was able to get it to build the file I needed, but that seems to be just to build a “settings” file, not the code itself. Now I have to tackle that…
If I understand you correctly - the touch command will create the .mk file, but it will be empty? What I wound up doing was finding an existing file named …/config/compiler.gfortran.mk (which was full of instructions) and copying it to …/config/compiler.Linux.mk - then it seemed to work OK.
On 2012-04-09 21:26, PattiMichelle wrote:
> If I understand you correctly - the touch command will create the .mk
> file, but it will be empty?
The command “touch” does two things: if the file exists, it “touches” the
timestamps, so that the file appears to have been created “now”. If the
file does not exist, it creates it.
You can find more with “man touch”, as for any CLI command.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)