mystery of errors in fortran (ifort 8.0)

mystery of errors in fortran (ifort 8.0)

Hi all,
I am trying to compile a big fortran program (called DL_POLY) with lots of subroutines on my
hp workstation zx6000 having itanium-2 processor and ifort v 8.0.
DL_POLY is general program which become machine specific by evoking the specific options from the general Makefile. Like in my case the options for compling this program goes like this:
----
intel-linux-ifc: dpp
$(MAKE) FC=/opt/intel_fc_80/bin/ifort LD="/opt/intel_fc_80/bin/ifort -o" FFLAGS="-c -O3 -w95 -w"
CPFLAGS="-D$(STRESS) -DSERIAL -D'POINTER=integer*8'"
LDFLAGS="-Vaxlib -static" EX=$(EX) BINROOT=$(BINROOT) $(TYPE)
-----
so, for compiling this program i write on command prompt
$make intel-linux-ifc
Now, the thing is that the compilation is giving ERROR as follows:
----
cc dpp.c -o dpp
make FC=/opt/intel_fc_80/bin/ifort LD="/opt/intel_fc_80/bin/ifort -o" FFLAGS="-c -O3 -w95 -w"
CPFLAGS="-DSTRESS -DSERIAL -D'POINTER=integer*8'"
LDFLAGS="-Vaxlib -static" EX=DLPOLY.X BINROOT=../execute 3pt
make[1]: Entering directory `/home/sbasu/dlpoly_new/dl_poly_2.14/source'
./dpp -DSTRESS -DSERIAL -D'POINTER=integer*8' angfrc.f > angfrc.tmp.f
make[1]: *** [angfrc.o] Error 139
make[1]: Leaving directory `/home/sbasu/dlpoly_new/dl_poly_2.14/source'
make: *** [intel-linux-ifc] Error 2
------
My queries are:-
1. Is this is due to -ia 64 architecture of Itanium machines. As, the same program compiled very well on Xeon processor(-ia 32) Linux machine with ifort-v8.0. ?
2. Is their any problem with the following options in Makefile
FFLAGS="-c -O3 -w95 -w"
CPFLAGS="-D$(STRESS) -DSERIAL -D'POINTER=integer*8'"
3. What is error 139 and error 2? is their any information available on these type of errors generated by fortran.

Please take some time to solve this mystery.
Thanks in advance.
Dhiraj

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.