Hi, I'm working with a .f90 program (compiled with ifort). I modified this program. I included a C program to this .f90 program (prog.f90 calls to prog.C). In a subroutine the .f90 program calls to system command to creat a directory. The program runs in a good way but presents a detail: The modified program calls to system command but the command is not ejecuted, this is very strange. The grogram run but does't ejecute the comand. The unmodified program (without .C) ejecutes correctly the system command.
The .f90 program can run with an MPI architecture. When I activate the MPI architecture (with mpif90) the program compile but when I run the program it tells me:
forrtl: error (72): floating overflow
Image PC Routine Line Source
ramses3d 00000000005F3C48 Unknown Unknown Unknown
ramses3d 000000000040634F Unknown Unknown Unknown
ramses3d 0000000000410DC2 Unknown Unknown Unknown
ramses3d 0000000000423273 Unknown Unknown Unknown
ramses3d 0000000000426D48 Unknown Unknown Unknown
ramses3d 000000000043B6C1 cooling_module_mp 323 cooling_module.f90
ramses3d 0000000000450D04 init_time_ 60 init_time.f90
ramses3d 0000000000453801 adaptive_loop_ 21 adaptive_loop.f90
ramses3d 000000000052E1E2 MAIN__ 8 ramses.f90
ramses3d 0000000000404482 Unknown Unknown Unknown
libc.so.6 0000003F8381D974 Unknown Unknown Unknown
ramses3d 00000000004043A9 Unknown Unknown Unknown
The program without the modification (without the .C program) compiles and runs in a good way (in serial and parallel mode), but when I include the .C program the program doesn't ejecute the system command with serial architecture and show me the error (72) with parallel architecture.
The problem is in my .C program, but what is the problem?...
Someone can give a clue?