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.
It is throwing the following error:
gfortran: error: /home/william/COAWST/mct_coupler_params.o: No such file or directory
Problem compiling version 3.7 of COAWST
-
- Posts: 8
- Joined: Tue Sep 13, 2022 9:02 pm
- Location: Instituto Nacional de Pesquisas Espaciais - INPE
Problem compiling version 3.7 of COAWST
- 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
Re: Problem compiling version 3.7 of COAWST
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
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
Re: Problem compiling version 3.7 of COAWST
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.
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.
-
- 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
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
Re: Problem compiling version 3.7 of COAWST
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.
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.
-
- 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
Solved the problem. Thanks!