- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
my fortran 90 code works fine when compiled using gfortran (gcc 4.0).
I've compiled it successfully with ifort, but when running it I get:
Here's also what gdb tells me:
The strange thing is that I added some print statements before the call, after the call, and in the very beginning of the subroutine increment ; and only the print instruction *before* the call gets executed....
Here are my compiling options: (relevant part of Makefile)
What do you think I could do to overcome this problem ?
Many thanks in advance,
cheers,
Nicolas
my fortran 90 code works fine when compiled using gfortran (gcc 4.0).
I've compiled it successfully with ifort, but when running it I get:
Command terminated by signal 11
Here's also what gdb tells me:
Program received signal SIGSEGV, Segmentation fault.
0x080521f8 in routines_mp_increment_ ()
The strange thing is that I added some print statements before the call, after the call, and in the very beginning of the subroutine increment ; and only the print instruction *before* the call gets executed....
Here are my compiling options: (relevant part of Makefile)
FC_HOME = /opt/intel/fc_80
FC = $(FC_HOME)/bin/ifort -132 -I $(FC_HOME)/include -inline_debug_info -g -r8
FC_LIB = $(FC_HOME)/lib
WARN_OPTS = -warn all -warn errors -w90 -w95 -std90 -std95
.f90.o:
$(FC) -c $(FFLAGS) $(WARN_OPTS) $<
program: $(OBJS)
$(FC) -o $(MAIN) $(OBJS) $(WARN_OPTS)
test: program
LD_LIBRARY_PATH=$(FC_LIB) ./$(MAIN)
What do you think I could do to overcome this problem ?
Many thanks in advance,
cheers,
Nicolas
Message Edited by nicolas.girard@nerim.net on 05-08-2005 04:44 AM
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ulimit -s unlimitedsolved my problem.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page