compilation - mpif90 -v does not create object file with flag openmp -


i compiling third-part software, mpif90, in case mpi version of gcc. package comes makefile. after compiling object files, makefile creates archive ar, fails because there not input object files. in effect tried compile hand object files (.o) with

mpif90 -lmkl_gf -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -lm -openmp -o3  -dmpi -c a.f90 

and a.o not created, .mod file created instead. don't have experience fortran, , bit puzzled, because -c flag should create object, shouldn' it?

i have verified gfortran create object file if remove flag openmp


notes:

mpif90 -v gcc version 4.4.3 

os : ubuntu 10.04.4 lts

i changed flag openmp fopenmp

http://gcc.gnu.org/onlinedocs/gfortran/openmp.html


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -