issues about inlet_test case

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
Rocky_Wang
Posts: 50
Joined: Tue Mar 01, 2016 1:38 am
Location: the Ocean University of China

issues about inlet_test case

#1 Unread post by Rocky_Wang »

Hi,

I tryed to compile the inlet (swan-roms coupling) test.
first I compile the Model Coupling Toolkit which generated lib and include files.
second I add the lib and include paths in my build.bash

export MCT_INCDIR=/home/chenghao/soft/include
export MCT_LIBDIR=/home/chenghao/soft/lib

third I run the build.bash and got the error message.
Could you mind help me to correct it. thanks very much


>./build.bash

swancom1.f90(7249): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.
WRITE (PRINTF,'(A,I3,A,E12.6)')
------------------------------------^
swancom1.f90(7294): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.
WRITE (PRINTF,'(A,E12.6)')
----------------------------^
swancom1.f90(7296): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.
WRITE (PRINTF,'(A,E12.6)')
----------------------------^
swancom1.f90(7299): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.
WRITE (PRINTF,'(A,E12.6)')
----------------------------^
swancom1.f90(7303): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.
WRITE (PRINTF,'(A,E12.6)')
----------------------------^
swancom1.f90(7731): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.
WRITE (PRINTF,'(A,I3,A,E12.6,A,I3,A,I3,A)')
------------------------------------^
swancom1.f90(7754): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.
WRITE (PRINTF,'(A,E12.6)')
----------------------------^
swancom1.f90(7756): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.
WRITE (PRINTF,'(A,E12.6)')
----------------------------^
swancom1.f90(7759): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.
WRITE (PRINTF,'(A,E12.6)')
----------------------------^
swancom1.f90(7763): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.
WRITE (PRINTF,'(A,E12.6)')
----------------------------^
swancom1.f90(10290): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.
WRITE (PRINTF,'(A,I3,A,E12.6,A,I3,A,I3,A)')
------------------------------------^
swancom1.f90(10322): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.
WRITE (PRINTF,'(A,E12.6)')
----------------------------^
swancom1.f90(10324): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.
WRITE (PRINTF,'(A,E12.6)')
----------------------------^
swancom1.f90(10327): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.
WRITE (PRINTF,'(A,E12.6)')
----------------------------^
swancom1.f90(10331): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.
WRITE (PRINTF,'(A,E12.6)')
----------------------------^
ifort: command line warning #10212: -fp-model precise evaluates in source precision with Fortran.
ifort: command line remark #10010: option '-pthread' is deprecated and will be removed in a future release. See '-help deprecated'
ifort: command line warning #10212: -fp-model precise evaluates in source precision with Fortran.
ifort: command line remark #10010: option '-pthread' is deprecated and will be removed in a future release. See '-help deprecated'
waves_coupler.f90(17): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_MCTWORLD]
USE m_MCTWorld, ONLY : MCTWorld_init => init
----------^
waves_coupler.f90(46): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_TRANSFER]
USE m_Transfer, ONLY : MCT_Send => send
----------^
waves_coupler.f90(47): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_TRANSFER]
USE m_Transfer, ONLY : MCT_Recv => recv
----------^
waves_coupler.f90(22): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_GLOBALSEGMAP]
USE m_GlobalSegMap, ONLY : GlobalSegMap
----------^
waves_coupler.f90(23): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_GLOBALSEGMAP]
USE m_GlobalSegMap, ONLY : GlobalSegMap_init => init
----------^
waves_coupler.f90(24): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_GLOBALSEGMAP]
USE m_GlobalSegMap, ONLY : GlobalSegMap_lsize => lsize
----------^
waves_coupler.f90(25): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_GLOBALSEGMAP]
USE m_GlobalSegMap, ONLY : GlobalSegMap_clean => clean
----------^
waves_coupler.f90(26): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_GLOBALSEGMAP]
USE m_GlobalSegMap, ONLY : GlobalSegMap_Ordpnts => OrderedPoints
----------^
waves_coupler.f90(30): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
USE m_AttrVect, ONLY : AttrVect
----------^
waves_coupler.f90(31): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
USE m_AttrVect, ONLY : AttrVect_init => init
----------^
waves_coupler.f90(32): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
USE m_AttrVect, ONLY : AttrVect_zero => zero
----------^
waves_coupler.f90(33): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
USE m_AttrVect, ONLY : AttrVect_clean => clean
----------^
waves_coupler.f90(34): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
USE m_AttrVect, ONLY : AttrVect_indxR => indexRA
----------^
waves_coupler.f90(35): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
USE m_AttrVect, ONLY : AttrVect_importRAttr => importRAttr
----------^
waves_coupler.f90(36): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ATTRVECT]
USE m_AttrVect, ONLY : AttrVect_exportRAttr => exportRAttr
----------^
waves_coupler.f90(40): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ROUTER]
USE m_Router, ONLY : Router
----------^
waves_coupler.f90(41): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ROUTER]
USE m_Router, ONLY : Router_init => init
----------^
waves_coupler.f90(42): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_ROUTER]
USE m_Router, ONLY : Router_clean => clean
----------^
waves_coupler.f90(59): error #6457: This derived type name has not been declared. [GLOBALSEGMAP]
TYPE(GlobalSegMap) :: GSMapSWAN ! GloabalSegMap variables
-----------^
waves_coupler.f90(60): error #6457: This derived type name has not been declared. [ATTRVECT]
TYPE(AttrVect) :: wav2ocn_AV ! AttrVect variables
-----------^
waves_coupler.f90(61): error #6457: This derived type name has not been declared. [ATTRVECT]
TYPE(AttrVect) :: ocn2wav_AV
-----------^
waves_coupler.f90(62): error #6406: Conflicting attributes or multiple declaration of name. [ROUTER]
type(Router) :: SWANtoROMS ! Router variables
-----------^
waves_coupler.f90(17): error #6581: Unresolved rename. [MCTWORLD_INIT]
USE m_MCTWorld, ONLY : MCTWorld_init => init
-----------------------------^
waves_coupler.f90(18): error #6581: Unresolved rename. [MCTWORLD_CLEAN]
USE m_MCTWorld, ONLY : MCTWorld_clean => clean
-----------------------------^
waves_coupler.f90(22): error #6580: Name in only-list does not exist. [GLOBALSEGMAP]
USE m_GlobalSegMap, ONLY : GlobalSegMap
---------------------------------^
waves_coupler.f90(23): error #6581: Unresolved rename. [GLOBALSEGMAP_INIT]
USE m_GlobalSegMap, ONLY : GlobalSegMap_init => init
---------------------------------^
waves_coupler.f90(24): error #6581: Unresolved rename. [GLOBALSEGMAP_LSIZE]
USE m_GlobalSegMap, ONLY : GlobalSegMap_lsize => lsize
---------------------------------^
waves_coupler.f90(25): error #6581: Unresolved rename. [GLOBALSEGMAP_CLEAN]
USE m_GlobalSegMap, ONLY : GlobalSegMap_clean => clean
---------------------------------^
waves_coupler.f90(26): error #6581: Unresolved rename. [GLOBALSEGMAP_ORDPNTS]
USE m_GlobalSegMap, ONLY : GlobalSegMap_Ordpnts => OrderedPoints
---------------------------------^
waves_coupler.f90(30): error #6580: Name in only-list does not exist. [ATTRVECT]
USE m_AttrVect, ONLY : AttrVect
-----------------------------^
waves_coupler.f90(2330): catastrophic error: Too many errors, exiting
compilation aborted for waves_coupler.f90 (code 1)
make: *** [/home/chenghao/inlet_test/Build/waves_coupler.o] Error 1
make: *** Waiting for unfinished jobs....
[chenghao@server169 inlet_test]$ ^C
[chenghao@server169 inlet_test]$
Attachments
build.bash
(18.55 KiB) Downloaded 329 times

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

Re: issues about inlet_test case

#2 Unread post by jcwarner »

the first set are just warnings about write statements. these should be changed by swan.

the second issues is an error you need to correct:
"waves_coupler.f90(17): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [M_MCTWORLD] USE m_MCTWorld, ONLY : MCTWorld_init => init"

so the MCT_INCDIR has to have all the *.mod files in it, and the MCT_LIBDIR needs to have the libmct.a and libmpeu.a files.

-j

Rocky_Wang
Posts: 50
Joined: Tue Mar 01, 2016 1:38 am
Location: the Ocean University of China

Re: issues about inlet_test case

#3 Unread post by Rocky_Wang »

Thanks your answer, and I checked my path, you mean I did't compile the MCT rightly?
Attachments
2.PNG
2.PNG (4.36 KiB) Viewed 6291 times
1.PNG

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

Re: issues about inlet_test case

#4 Unread post by jcwarner »

can i see the part of the build output that caused this issue? so it would say
mpif90 -c - blah blah -I/home/chenghao/soft/include ..
and see if the build line has all the correct information.

do you have correct permissions on those mod files?

Rocky_Wang
Posts: 50
Joined: Tue Mar 01, 2016 1:38 am
Location: the Ocean University of China

Re: issues about inlet_test case

#5 Unread post by Rocky_Wang »

this is my log file, and permission.
Attachments
build.log
(233.99 KiB) Downloaded 318 times
3.PNG
3.PNG (35.75 KiB) Viewed 6283 times

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

Re: issues about inlet_test case

#6 Unread post by jcwarner »

i dont see the error in that build. try
./coawst.bash >& foo
or
script build.log
./coawst.bash
exit
and that makes a build.log file.

but the issue is taht the build shows (for example)
cd /home/chenghao/inlet_test/Build; /usr/local/bin/mpif90 -c -heap-arrays -fp-model precise -ip -O3 -I/opt/intelsoft/mct/include -nofree waves_coupler.f90

it is pointing to
"-I/opt/intelsoft/mct/include"
not to your mct install dirs.
do an env and make sure those mct_incdir and mct_libdir are set correctly.
-j

Rocky_Wang
Posts: 50
Joined: Tue Mar 01, 2016 1:38 am
Location: the Ocean University of China

Re: issues about inlet_test case

#7 Unread post by Rocky_Wang »

Thanks very much, I have found the reason that I didn't turn on the #export USE_MY_LIBS=on # use my library paths below,and did't change the path in my compiler file.

Post Reply