ana_sediment.h:27:0: fatal error: tile.h: No such file

Sediment modeling collaborators: issues, applications, information exchange

Moderators: arango, robertson, rsignell

Post Reply
Message
Author
User avatar
IMRAN5379
Posts: 21
Joined: Fri Sep 08, 2017 11:59 pm
Location: Indian Institute of Technology Kharagpur

ana_sediment.h:27:0: fatal error: tile.h: No such file

#1 Unread post by IMRAN5379 »

hello sir
during compilation i am getting this error. the model is running and unable to write the sediment properties and its value in the history and average file...it may be due to the absence of tile.h file.

thanks in advance.

ana_sediment.h:27:0: fatal error: tile.h: No such file or directory
#include "tile.h"
^
compilation terminated.
gfortran -c -O3 -fdefault-real-8 -fdefault-double-8 -mcmodel=medium analytical_.f -o analytical.o
analytical_.f:1325:34:

parameter (mask_val = .true.)
1
Error: Unexpected characters in PARAMETER statement at (1)
Fatal Error: Can't open module file ‘mod_param.mod’ for reading at (1): No such file or directory
compilation terminated.
Makedefs:13: recipe for target 'analytical.o' failed
make: *** [analytical.o] Error 1
mv: cannot stat 'roms': No such file or directory

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: ana_sediment.h:27:0: fatal error: tile.h: No such file

#2 Unread post by kate »

You say it's running - was it running before you turned on the sediments? What you show is a failure to compile. I have a ROMS/Include/tile.h and so should you.

During the build, it will look for include files in ROMS/Include, thanks to:
includes := ROMS/Include
vpath %.h $(includes)
in the makefile.

This appears to be two different errors with some important bits left out:
parameter (mask_val = .true.)
1
Error: Unexpected characters in PARAMETER statement at (1)
Fatal Error: Can't open module file ‘mod_param.mod’ for reading at (1): No such file or directory
Which branch of ROMS is this, anyways? Can you run the pure UPWELLING test case?

User avatar
IMRAN5379
Posts: 21
Joined: Fri Sep 08, 2017 11:59 pm
Location: Indian Institute of Technology Kharagpur

Re: ana_sediment.h:27:0: fatal error: tile.h: No such file

#3 Unread post by IMRAN5379 »

Hi
Actually, I am studying sediment transport modeling using ROMS. the sediment module CSTMS has been implemented in ROMS. I activated the sediment module by the following in cppdef.h file.
# undef BIOLOGY
# undef FLOATS
# undef STATIONS
# undef PASSIVE_TRACER
# define SEDIMENT
# define BBL
I have attached my edited files roms.in and cppdef.h.
Attachments
cppdefs.h
(18.99 KiB) Downloaded 387 times
roms.in
(5.98 KiB) Downloaded 378 times

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: ana_sediment.h:27:0: fatal error: tile.h: No such file

#4 Unread post by kate »

Have you tried running a really simple case? Turning on sediments does not explain why you are failing to compile ROMS. What exactly are you doing? Operating system? ROMS version? Build script choices?

User avatar
IMRAN5379
Posts: 21
Joined: Fri Sep 08, 2017 11:59 pm
Location: Indian Institute of Technology Kharagpur

Re: ana_sediment.h:27:0: fatal error: tile.h: No such file

#5 Unread post by IMRAN5379 »

yes, I applied a simple case to test the model but any other thing need to run it. Does a wave model need to activate?

User avatar
IMRAN5379
Posts: 21
Joined: Fri Sep 08, 2017 11:59 pm
Location: Indian Institute of Technology Kharagpur

Re: ana_sediment.h:27:0: fatal error: tile.h: No such file

#6 Unread post by IMRAN5379 »

I have a Linux operating system, ROMS (V3.1.1).

User avatar
IMRAN5379
Posts: 21
Joined: Fri Sep 08, 2017 11:59 pm
Location: Indian Institute of Technology Kharagpur

Re: ana_sediment.h:27:0: fatal error: tile.h: No such file

#7 Unread post by IMRAN5379 »

I am working on sediment transport in the coastal zone of the Bay of Bengal using ROMS+CSTMS coupling. so I have activated the sediment module.
Thank you.

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: ana_sediment.h:27:0: fatal error: tile.h: No such file

#8 Unread post by kate »

I don't know if you need a wave model, but if you do, you should contact John Warner to get his version of the wave-coupling code. You might well need a wave model in that region to get the fresh water influx to mix down in a physical way. You will need to think about how to get the river inputs into the model.

If that is ROMS 3.1.1 from myroms.org, it is woefully out of date. Why do you not have 3.7?

Did you "make clean" after running your non-sediment test? I know Hernan cleans by default in his build.bash, but I'm just checking.

User avatar
IMRAN5379
Posts: 21
Joined: Fri Sep 08, 2017 11:59 pm
Location: Indian Institute of Technology Kharagpur

Re: ana_sediment.h:27:0: fatal error: tile.h: No such file

#9 Unread post by IMRAN5379 »

ok, I shall upgrade it to ROMS 3.7, Thank you so much for your valuable information.

Post Reply