- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
I want to create make file for NICOLE code with ifort
./create_makefile.py --compiler=mpif90 --otherflags='-O3 -r8 -xhost -heap-arrays 1600 -ipo'
but this message appears
Autodetected cswitch: -c
Autodetected modsuf: .mod
Autodetected modpath: -I
**** Using mpif90 ****
Testing system byte order (endianness)
Found little endian system
Testing compiler and flags with Hello World program
Command: mpif90 -O3 -r8 -xhost -heap-arrays 1600 -ipo test.f90
*** ERROR! Your compiler did not produce a suitable executable!
I want help
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What happens if you simply issue this command in the SAME window you were trying to create the makefile?
mpif90 -O3 -r8 -xhost -heap-arrays 1600 -ipo test.f90
If you do not have a "test.f90" file, you can create one that contains only the line " end"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A.S> mpif90 -O3 -r8 -xhost -heap-arrays 1600 -ipo test.f90
gfortran: error: 1600: No such file or directory
gfortran: error: unrecognized command line option ‘-r8’
gfortran: error: unrecognized command line option ‘-h’
gfortran: error: unrecognized command line option ‘-ipo’
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your mpif90 is a wrapper for gfortran. If you use Intel mpi as supplied, use mpif90 -fc=ifort or mpiifort.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, it works but if I source /opt/intel/bin/compilervars.csh ia32, there are error as
A.S> source /opt/intel/bin/compilervars.csh ia32
A.S> ./create_makefile.py --compiler=mpiifort --otherflags='-O3 -r8 -xhost -heap-arrays 1600 -ipo'
Autodetected cswitch: -c
Autodetected modsuf: .mod
Failed to auto-detect modpath flag for compiler:mpiifort
Usually it is -module or -I but these didn't seem to work
Please, specify it manually by invoking this program with the --modpath option
Error autodetecting compiler flags
For cswitch found -c
For modpath found None
For modsuf found .mod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel mpi no longer supports ia32. Even if you have an old version which does , you must source both compilervars and mpivars.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, now in ia32 i write 'mpd &' to run parallel, with intel64 what command to do it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In old versions of impi which supported both 32- and 64-bit modes, the command sets were the same. You couldn't mix 32- and 64-bit mode.
I don't know what mpd& would have done.
Your setting -heap-arrays 1600 is unlikely to have a good effect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I ask about it because, with mpi gfortran, I type this command for run code
./run_tests.py --nicolecommand='mpirun -n 6 ../../main/nicole'
now what command equivalent to mpirun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page