- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ifort (8) seems to have a problem when using etime (Vaxlib). This problem didn't occur with ifc version 7.1.
the following error message is
ifort -openmp -O2 -Vaxlib -W0 -WB -fpp2 -c cmbmain.f90
fortcom: Severe: cmbmain.f90, line 158: **Internal compiler error:
segmentation violation signal raised** Please report this error along with
the circumstances in which it occurred in a Software Problem Report. Note:
File and line given may not be explicit cause of this error.
actual=etime(tarray)
................^
compilation aborted for cmbmain.f90 (code 3)
make: *** [cmbmain.o] Error 3
the source code is available at http://camb.info/
Thanks,
Vincent
Message Edited by vincentboucher@hotmail.com on 06-24-2004 07:59 AM
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Since you appear to be writing an application intended to run on several platforms, it might make sense to avoid a non-portable function like etime(), when there is a standard alternative, cpu_time(). 10 years ago, of course, etime() would have been a reasonable choice, provided you documented it as system dependent.
It's difficult to follow your source, but you have declared etime() as external. To some compilers, that means "don't look for this in our library." In the Intel compiler documentation, you will see that the preferred way to declare such functions is with
USE IFLPORT
That doesn't exclude the possibility that the compiler may have a bug, particularly in the way library functions are called from internal subroutines. I am trying this out on a beta compiler, and may have a report to file. I would suggest you consider doing the same; there are enough versions of ifort that it would be difficult to guess which one you are using.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel Fortran Compiler for 32-bit applications, Version 8.0 Build 20031016Z Package ID: installpackageid
Copyright (C) 1985-2003 Intel Corporation. All rights reserved.
FOR NON-COMMERCIAL USE ONLY
I can't fix the problem with IFLPORT and cpu_time.
Vincent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I filed premier issue Q253924 against the 8.1 beta Windows compiler, with respect to this application.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page