Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
7 Views

problem with create make file with parallel ifort

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

0 Kudos
9 Replies
Highlighted
7 Views

What happens if you simply

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"

 

0 Kudos
Highlighted
Beginner
7 Views

 

 

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’

0 Kudos
Highlighted
Black Belt
7 Views

Your mpif90 is a wrapper for

Your mpif90 is a wrapper for gfortran.  If you use Intel mpi as supplied, use mpif90 -fc=ifort or mpiifort. 

 

 

0 Kudos
Highlighted
Beginner
7 Views

Thanks, it works but if I

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

 

 

0 Kudos
Highlighted
Black Belt
7 Views

Intel mpi no longer supports

Intel mpi no longer supports ia32.  Even if you have an old version which does , you must source both compilervars and mpivars.

0 Kudos
Highlighted
Beginner
7 Views

Thanks, now in ia32 i write

Thanks, now in ia32 i write 'mpd &'  to run   parallel, with intel64 what command to do it?

0 Kudos
Highlighted
Black Belt
7 Views

In old versions of impi which

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.

0 Kudos
Highlighted
Beginner
7 Views

I ask about it because, with

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

0 Kudos
Highlighted
Black Belt
7 Views

mpirun has been preferred by

mpirun has been preferred by Intel mpi as well for several years
0 Kudos