I am currently developping a user subroutine for ANSYS using ifort version 12.1.0 (The version needed to link the user subroutine to ANSYS) with the compiler installed on a Linux platform.
Toidentify the dependencies of the various subroutine and modules before compiling them, i used the command (All f90 files reside in the main folder when i do the operation.):
ifort -gen-dep:depend.mak -save-temps *.f90 1>>dump.std 2>>dump.err
ifort returns this into the depend,mak file for a few of the fortran file, mainly for subroutines which require a module:
statesType.o : \ statesType.f90 /usr/include/tensorstype.modintr /usr/include/tensorstype.modintr \ /usr/local/gcc-4.2.2/lib/gcc/x86_64-unknown-linux-gnu/4.2.2/include/tensorstype.modintr \ /usr/local/include/tensorstype.modintr \ /raid/home/public/intel/composer_xe_2011_sp1.7.256/compiler/include/tensorstype.modintr \ /raid/home/public/intel/composer_xe_2011_sp1.7.256/compiler/include/intel64/tensorstype.modintr \ /opt/intel/composer_xe_2011_sp1.7.256/mkl/include/tensorstype.modintr \ ./tensorstype.modintr tensorstype.modintr /usr/include/tensorstype.mod \ /usr/include/tensorstype.mod \ /usr/local/gcc-4.2.2/lib/gcc/x86_64-unknown-linux-gnu/4.2.2/include/tensorstype.mod \ /usr/local/include/tensorstype.mod \ /raid/home/public/intel/composer_xe_2011_sp1.7.256/compiler/include/tensorstype.mod \ /raid/home/public/intel/composer_xe_2011_sp1.7.256/compiler/include/intel64/tensorstype.mod \ /opt/intel/composer_xe_2011_sp1.7.256/mkl/include/tensorstype.mod \ ./tensorstype.mod tensorstype.mod
ifort seems to adequatetely identify the needed module but seems to add junk path before the file and additional .modintr files. Is there something i'm doing wrong ?