Dear Siesta Users and Developers,
In my system, it was already installed intel fortran compiler 11.1: the
command:
"which ifort" results in "/opt/intel/Compiler/11.1/064/bin/intel64/ifort".
Moreover, there is a "mkl" folder with probably the same version as intel
fortran compiler with the path:
/opt/intel/Compiler/11.1/064/mkl/lib/em64t
Now I intend to install serial siesta by using "nano-intel-serial.make" file. I
modified this file as the following for making my arch.make.
__________________________________________________________
FC=ifort
#
FFLAGS= -w -O3 -mp
#EXTRA_LIBS=-lpthread -lsvml
FFLAGS_DEBUG= -g
FFLAGS_CHECKS= -g -O0 -debug full -traceback -C
LDFLAGS= -static
COMP_LIBS=
RANLIB=echo
#
NETCDF_LIBS=
NETCDF_INTERFACE=
FPPFLAGS_CDF=
#
MPI_INTERFACE=
MPI_INCLUDE=
FPPFLAGS_MPI=
#
LIBS=-L/opt/intel/Compiler/11.1/064/mkl/lib/em64t -lmkl_lapack -lmkl_em64t \
-lguide $(EXTRA_LIBS)
SYS=nag
FPPFLAGS= $(FPPFLAGS_CDF) $(FPPFLAGS_MPI)
______________________________________________________________
After running obj_setup.sh and copying this arch.make in both folerds Obj/ and
Src/, I run "make" command. The following message appears which shows could not
determine a flag to its executables:
[cheragh...@cluster ifort]$ make
Compilation architecture to be used: nano-intel-serial
If this is not what you want, create the right
arch.make file using the models in Src/Sys
Hit ^C to abort...
(cd FoX; touch arch.make ; \
CONFIGURE="/home/cheraghchi/ifort_siesta/siesta-3.0-rc2/Src/FoX/configure"; \
$CONFIGURE
VPATH="/home/cheraghchi/ifort_siesta/siesta-3.0-rc2/Src/FoX" \
FC="ifort" FCFLAGS="-w -O3 -mp" \
--enable-wcml || false )
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for linker flag to name executables... configure: error: Could not
determine flag to name executables
See `config.log' for more details.
make: *** [FoX/.config] Error 1
________________________________________________________
I do not have any idea. Could you help me?
Best Regards,
Hossein