roms compiling problem with ifort
-
- 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
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
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
Re: roms compiling problem with ifort
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?
-
- 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
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
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
Re: roms compiling problem with ifort
That's what my abort.f90 looks like too. Why doesn't yours compile? Mine does:
(no error here)
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%
Re: roms compiling problem with ifort
hi jihene,
can you compile all the Roms versions older than 607 with the same ifort compiler ?
steve
can you compile all the Roms versions older than 607 with the same ifort compiler ?
steve
-
- 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
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!!
- arango
- Site Admin
- Posts: 1367
- Joined: Wed Feb 26, 2003 4:41 pm
- Location: DMCS, Rutgers University
- Contact:
Re: roms compiling problem with ifort
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.
Re: roms compiling problem with ifort
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
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
-
- 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
Thanks I will try an other test!