roms compiling problem with ifort

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
jihene
Posts: 19
Joined: Wed Mar 16, 2005 4:56 pm
Location: Institut Préparatoire aux études d'ingénieurs de T

roms compiling problem with ifort

#1 Unread post by jihene »

Hi everyone

I just got a compiling problem with newest ROMS version (version 607) using ifort compiler. I ve been using the 519 version before and everything is fine. Does anybody meet the same problem or help me out. Here is the error msg.
Thanks
------------------
ar: creating Build/libUTIL.a
ar: Build/abort.o: No such file or directory
make: *** [Build/libUTIL.a] Error 1

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

Re: roms compiling problem with ifort

#2 Unread post by kate »

Is there more to it? Why don't you have an abort.o? Do you have a Build/abort.f90? Was there trouble compiling it?

jihene
Posts: 19
Joined: Wed Mar 16, 2005 4:56 pm
Location: Institut Préparatoire aux études d'ingénieurs de T

Re: roms compiling problem with ifort

#3 Unread post by jihene »

Thanks Kate for your reply,
Yes I have the abord.f90 under the Build directory, but not the abort.o...You will find the content of the file bellow.
Thank you again for your help
Jihene
-----------------------------------------------------------
SUBROUTINE abort (status)
!
!svn $Id: abort.F 585 2012-01-03 18:44:28Z arango $
!================================================== Hernan G. Arango ===
! Copyright (c) 2002-2012 The ROMS/TOMS Group !
! Licensed under a MIT/X style license !
! See License_ROMS.txt !
!=======================================================================
! !
! This subroutine terminates execution after flushing all buffers and !
! closing IO files. !
! !
!=======================================================================
!
USE ocean_control_mod, ONLY : ROMS_finalize
!
implicit none
!
! Imported variable declarations.
!
integer, intent(in) :: status
!
!-----------------------------------------------------------------------
! Terminate execution due to fatal error.
!-----------------------------------------------------------------------
!
! Finalize ROMS component.
!
CALL ROMS_finalize
!
! Stop execution.
!
STOP
END SUBROUTINE abort

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

Re: roms compiling problem with ifort

#4 Unread post by kate »

That's what my abort.f90 looks like too. Why doesn't yours compile? Mine does:

Code: Select all

delta.arsc.edu 357% make Build/abort.o
makefile:234: INCLUDING FILE Build/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
cd Build; /usr/bin/gfortran -c -frepack-arrays -O3 -ffast-math abort.f90
delta.arsc.edu 358% 
(no error here)

tony1230
Posts: 87
Joined: Wed Mar 31, 2010 3:29 pm
Location: SKLEC,ECNU,Shanghai,China

Re: roms compiling problem with ifort

#5 Unread post by tony1230 »

hi jihene,

can you compile all the Roms versions older than 607 with the same ifort compiler ?

steve

jihene
Posts: 19
Joined: Wed Mar 16, 2005 4:56 pm
Location: Institut Préparatoire aux études d'ingénieurs de T

Re: roms compiling problem with ifort

#6 Unread post by jihene »

yes I compiled some previous versions of roms with the same compiler...I've no response for you kate!!really I don't understand where is the problem!!

User avatar
arango
Site Admin
Posts: 1367
Joined: Wed Feb 26, 2003 4:41 pm
Location: DMCS, Rutgers University
Contact:

Re: roms compiling problem with ifort

#7 Unread post by arango »

Use the build script and select any of the test case in the test repository to see if you have the same problem. Avoid editing the makefile.

ibnode

Re: roms compiling problem with ifort

#8 Unread post by ibnode »

hi jihene,

it seems you did not compile the "abort.f90" successfully. you should check the compiling log file and find out the exact failing point.

Ibnode

jihene
Posts: 19
Joined: Wed Mar 16, 2005 4:56 pm
Location: Institut Préparatoire aux études d'ingénieurs de T

Re: roms compiling problem with ifort

#9 Unread post by jihene »

Thanks I will try an other test!

Post Reply