compilation of vasp

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
Isha

compilation of vasp

#1 Post by Isha » Thu Apr 22, 2010 12:36 pm

Hi all...............
I am a new user of vasp. I compiled vasp using i-fort compiler. It gave the following error. Anybody please help me.



./preprocess <base.F | /usr/bin/cpp -P -C -traditional >base.f90 -DHOST=\"LinuxIFC\" -Dkind8 -DNGXhalf -DCACHE_SIZE=12000 -DPGF90 -Davoidalloc
ifc -FR -lowercase -assume byterecl -O3 -xW -tpp7 -c base.f90
make: ifc: Command not found
make: *** [base.o] Error 127
Last edited by Isha on Thu Apr 22, 2010 12:36 pm, edited 1 time in total.

maryam
Newbie
Newbie
Posts: 19
Joined: Fri Jul 10, 2009 10:04 am

compilation of vasp

#2 Post by maryam » Thu Apr 22, 2010 6:29 pm

I guess ifort has not been sourced; so try this command line before "make" relative to your version of compiler.

Source /opt/intel/fc/10.1.015/bin/ifortvars.sh
Last edited by maryam on Thu Apr 22, 2010 6:29 pm, edited 1 time in total.

admin
Administrator
Administrator
Posts: 2921
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

compilation of vasp

#3 Post by admin » Mon Apr 26, 2010 1:16 pm

please check which compiler you use, if it is a new release of the Intel compiler, please replace "ifc" by "ifort" in the makefile.
Please make sure that the directory in which the compiler is installed is in your $PATH
[ Edited Mon Apr 26 2010, 03:17PM ]
Last edited by admin on Mon Apr 26, 2010 1:16 pm, edited 1 time in total.

enlvamp
Newbie
Newbie
Posts: 7
Joined: Fri Mar 26, 2010 7:18 pm

compilation of vasp

#4 Post by enlvamp » Tue Apr 27, 2010 8:05 pm

First of all, if your using serial version, the comand is ifort and not ifc, with your using a parallel version the command is mpif90
Is your Ifort
Corrently installed and linked ? after u have sucessfull installed it u should do what Maryam says, i mean edit your .bashrc file which is located in your home directory, or create a file in /etc/profile.d/ i usually name this file intel.sh
and put in this file
source /opt/intel/fce/10.1.018/bin/ifortvars.sh
source /opt/intel/mkl/10.2.1.017/tools/environment/mklvarsem64t.sh
Last edited by enlvamp on Tue Apr 27, 2010 8:05 pm, edited 1 time in total.

Post Reply