Dear Cheraghchi,

First check whether the paths are set correctly. In addition to the
path corresponding to the compiler, you have to set path pointing to
the 'include' and 'lib' directories of your compiler.

Since you are using ifort 11.1, you have to either switch to an
earlier version of ifort (like ifort 10.1) to get the FoX library
compiled correctly. One option is this : Compile the FoX using ifort
10.1 and then goto the 'Obj' folder and compile the main code.

- Madan


On Tue, Jul 27, 2010 at 8:10 PM, Koch, Robert J <[email protected]> wrote:
> It should be under /Obj/FoX.  Also, check the list logs, but I'm pretty sure 
> I've read on here that the intel compiler version 11 is buggy and to compile 
> siesta you need the old version (10).
>
> Best,
> Rob
> ________________________________
> From: Hosein Cheraghchi [[email protected]]
> Sent: Tuesday, July 27, 2010 10:37 AM
> To: [email protected]
> Subject: RE: [SIESTA-L] Problem of Compilation Siesta-3.0-rc2 using ifort+mkl
>
> Dear Rob,
> I was looking for config.log  announced in the directory Obj/, but I could 
> not find it. Where can I find related config.log file.
> Best,
> hossein
> --- On Tue, 7/27/10, Koch, Robert J <[email protected]> wrote:
>
> From: Koch, Robert J <[email protected]>
> Subject: RE: [SIESTA-L] Problem of Compilation Siesta-3.0-rc2 using ifort+mkl
> To: "[email protected]" <[email protected]>
> Date: Tuesday, July 27, 2010, 6:56 PM
>
> Hossein,
>
> Did you have a look at  config.log?
>
> Cheers,
> Rob
> ________________________________
> From: Hosein Cheraghchi [[email protected]<UrlBlockedError.aspx>]
> Sent: Tuesday, July 27, 2010 10:19 AM
> To: [email protected]<UrlBlockedError.aspx>
> Subject: [SIESTA-L] Problem of Compilation Siesta-3.0-rc2 using ifort+mkl
>
> 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
>
>
>
>
>
>
>



-- 
----------------------------------------
Madan Mithra .L.M
Senior Research Fellow
Dept.of Physics
Indian Institute of Science
Bangalore - 560 012
INDIA
.........................................
Phone : 91-80-22932313 (Lab)
 FAX   : (080) 360 2602
----------------------------------------

Responder a