Intel® Fortran Compiler for Linux* and Mac OS X*

Preprocessor conditional compilation

Hello all, I have a general question regarding Fortran syntax (not this forum?).  I have a series of include files that set up memory structures, and those include files may also chain-include other this case, some "parameter definition" files.  For example:


    INTEGER*4    ID

...and 'MEMORY_PARMS.TEXT' contains the following:

Compiling and Linking Fortran Code with external modules and libraries

Dear all,

I am trying to create a fortran program. I have already done this in Windows and using Visual Studio.

In linux I am using ifort (ifort (IFORT) 14.0.2 20140120).

I am very new to this. I appreciate your help. I will explain the procedure I am taking below.

I have my source code ( File1.f90, File2.f90, File3.f90 and main.f90) and then I have a folder full of external libraries (*.a and *.mod )

I have not written these libraries nor I have any idea which compiler was used to compile and create those libraries.

Bounds remapping error on derived type component

I am experiencing what appears to be incorrect behavior when attempting to remap the bounds of an array within a derived type. Given an allocatable array of components(elements), within a 'mesh' type, I am trying to remap the rank-1 'elems' array within a 'mesh' type to a rank-3 view. Unfortunately I have not yet had luck trying to produce a minimum working example so the following code is just to convey the concept here.

undefined symbol: __intel_new_feature_proc_init

This is what I have done:

1. mpif90 -g swh90_debug.F90 -I$MKLROOT/include -L$MKLROOT/lib/intel64 -lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lmkl_blacs_intelmpi_lp64 -liomp5 -lpthread -lm -mcmodel=medium -align qcommons -fpe0

a.out is generated, then

2. mpirun -np 256 ./a.out

This used to work quite well. But today when I compiled and run the program like what I have done many times before. Errors came:

./a.out: symbol lookup error: ./a.out: undefined symbol: __intel_new_feature_proc_init

Intel fortran command problem

Hi All,

I have two question for you.

First, i need to run source intel/composer_xe_2015.3.187/bin/ intel64 every time I open a terminal in ubuntu to be able to use ifort command. what should I do to solve this problem.

second, I am using Geany and I am really get used to it. how can i set it to use ifort. i have tried to change the build commands to ifort. however, it is not working.


Casting a dynamic 1D array into a dynamic 2D array without copying data

Hi All,

I have the following problem. I want to cast a 1D array into column of 2D array in a loop. At 1st iteration the size of this 2D array is same as the 1D array. So. There should be no problem to cast it. At 2nd iteration, 1D array is going to have different elements. I want to cast it to 2nd column of 2D array.

This procedure continues till the norm of elements of 2D array is less than tolerance and it stops there. There,  I can not guess the number of columns of 2D array to allocate it before starting calculation...

Iscriversi a Intel® Fortran Compiler for Linux* and Mac OS X*