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

Can this be made better?

 

Hello,

I wonder is anyone has the time and inclination to have look at the code below for

any possible improvements.

The extract included here is the the heaviest user of cpu in a large-ish simulation code .

A typical run would take 6-9 months of running 24/24 and 7/7 with 6 threads on six cores.

The omp part is working very well and there cannot be much inprovement with the multithreading part.

The compiler call used for the whole code is:

ifort -O3 -r8  -openmp -fpp -parallel -mcmodel=medium -i-dynamic -shared-intel

how to solve problem 'usr/lib/crt1.o: could not read symbols: File in wrong format'

Hello experts:


I just installed intel fortran compiler 8.0 on my x86-64 computer with Centos6.5 system.


in the installation process, I choose IA-32 to install it.


after default choice and installation, I configure the .bashrc as suggestions of the installation guide.


after sourcing .bashrc, then I use ifort to compile the hello.f in my current dir.


but firstly the message that


'/usr/bin/ld: cannot find crt1.o: No such file or directory'


comes up.

problem for ifort which does not use system lib mission like idate getarg and so on

Hello experts,


    I installed the new version intel parallel composer XE 2013 sp2 updates2 noncommercial, but I find when I use ifort to compile the fortran codes, the error reported like the following:


systime_intel.f(34): warning #7532: The number of arguments is incompatible with intrinsic procedure, assume 'external'.   [IDATE]



and the same to 'getarg and iargc'. How to solve this issue?


    I try to use gfortran to compile the same codes, it make it.

-C options Internal compiler error

Hi all, 

The compiler is crashing with the following piece of code, with the options 
 ifort -O2 -c -C . removing -C seems to resolve the issue
Thanks


subroutine pinv(A,X)
implicit none
double complex,dimension(:,:),intent(in):: A
double complex,dimension(:,:) :: X
double complex,dimension(:,:), allocatable :: U,V
double complex,dimension(:), allocatable :: work
double precision,dimension(:), allocatable :: s,rwork
integer :: n,r,lwork,i,info
double precision :: tol

n = size(A,1)
X=A
![U,S,V] = svd(A)
lwork=5*n

Static array of procedure pointers

Hi,

I am trying to construct a static array of procedure pointers like this:

      abstract interface
        function USERFUNC_int (arg)
        integer USERFUNC_int
        integer, intent(IN) :: arg
        end function USERFUNC_int
      end interface

      procedure(USERFUNC_int), pointer :: pcfs(100)

 but the compiler complains about the "(":

error #5082: Syntax error, found '(' when expecting one of:  , <END-OF-STATEMENT> ; =>

      procedure(USERFUNC_int), pointer :: pcfs(100)

Failed on compilation of WRF3.5.1 by ifort

Hello,

I'm a postdoctoral in Thailand. I wanna use WRF for my research but I tap on the errors of installation.
I have a problem when I am trying to compile em_real case on Linux_x86_64, RHEL 5 (Centos, AMD Optron) using Intel Parallel Studio XE 2013 (ifort and icc), openmpi-1.6.5 and netcdf-3.6.3. I have no idea what is wrong. There is many errors in "compile.log" file. I didn't see executable that should be made in main directory.

Any help will be appreciated please. Thank you for your read.

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