Problem compiling version 3.7 of COAWST

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
william248
Posts: 8
Joined: Tue Sep 13, 2022 9:02 pm
Location: Instituto Nacional de Pesquisas Espaciais - INPE

Problem compiling version 3.7 of COAWST

#1 Unread post by william248 »

I managed to compile and run COAWST normally with ROMS and WRF coupled in version 3.4, however when trying the same in version 3.7 I am having a problem with MCT when compiling coast.bash, does anyone know what could be wrong? Why did it work in version 3.4 and 3.7 is this error appearing? Attached are some files of my configuration and project.

Image



It is throwing the following error:

gfortran: error: /home/william/COAWST/mct_coupler_params.o: No such file or directory
Attachments
Linux-gfortran.mk
(15.35 KiB) Downloaded 321 times
coawst.bash
(20.85 KiB) Downloaded 302 times
william_onlyroms.h
(1.55 KiB) Downloaded 349 times
coast_bash_logfile.txt
(362.04 KiB) Downloaded 320 times

jcwarner
Posts: 1200
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: Problem compiling version 3.7 of COAWST

#2 Unread post by jcwarner »

the problem probably occurred way near the beginning of the build.
and then it got to the end and all the modules were not there.
When WRF builds, if it gets an error, it keeps going. So you need to scroll way up to the top and start from there to look for the 'error'.
You can output the build using this
script build.log
./coawst.bash -j 4
when it is done type exit
then edit the build.log and search for the word error .
keep looking until you find what looks like the problem
that seems to work for me.
-j

jcwarner
Posts: 1200
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: Problem compiling version 3.7 of COAWST

#3 Unread post by jcwarner »

ok now i see your log file.
but that log file is for "william_onlyroms.h"
And that built correctly.
So that is not the correct log file for me to look at.

william248
Posts: 8
Joined: Tue Sep 13, 2022 9:02 pm
Location: Instituto Nacional de Pesquisas Espaciais - INPE

Re: Problem compiling version 3.7 of COAWST

#4 Unread post by william248 »

The mct_coupler_params.o file is not being created in the Build directory. In version 3.4 I didn't have this problem. Could you tell me what could be the problem?
Attachments
build.log
(366.86 KiB) Downloaded 327 times

jcwarner
Posts: 1200
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

Re: Problem compiling version 3.7 of COAWST

#5 Unread post by jcwarner »

at the top of your coawst.bash you have
parallel=0
clean=1
dprint=0
cleanwrf=0
cleanwrfhydro=0
cleanww3=0

switch that to
parallel=0
clean=1
dprint=0
cleanwrf=1
cleanwrfhydro=1
cleanww3=1

this should fix it.

william248
Posts: 8
Joined: Tue Sep 13, 2022 9:02 pm
Location: Instituto Nacional de Pesquisas Espaciais - INPE

Re: Problem compiling version 3.7 of COAWST

#6 Unread post by william248 »

Solved the problem. Thanks!

Post Reply