question about Makefile

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


Moderators: Global Moderator, Moderator

Locked
Message
Author
mguo1985
Newbie
Newbie
Posts: 2
Joined: Thu Nov 11, 2010 7:38 am

question about Makefile

#1 Post by mguo1985 » Thu Nov 11, 2010 7:52 am

Could you give me a detail explanation about the Makefile in vasp and vasp.lib?
Last edited by mguo1985 on Thu Nov 11, 2010 7:52 am, edited 1 time in total.

alex
Hero Member
Hero Member
Posts: 584
Joined: Tue Nov 16, 2004 2:21 pm
License Nr.: 5-67
Location: Germany

question about Makefile

#2 Post by alex » Thu Nov 11, 2010 11:31 am

About the nature of a makefile or the meaning of abbreviations?

Cheers,

alex
Last edited by alex on Thu Nov 11, 2010 11:31 am, edited 1 time in total.

mguo1985
Newbie
Newbie
Posts: 2
Joined: Thu Nov 11, 2010 7:38 am

question about Makefile

#3 Post by mguo1985 » Fri Nov 12, 2010 1:11 am

yes. My system is list in the following, how to modify the makefile of vasp and vasp.lib

Compute system: RedHat AS 5 update3
MPI intel mpi 3.1
Some programe :
Intel C/C++ Compiler (32bit) 10.1.021 /opt/intel/cc/10.1.021
Intel C/C++ Compiler (64bit) 10.1.021 /opt/intel/cce/10.1.021
Intel Fortran Compiler (32bit) 10.1.021 /opt/intel/fc/10.1.021
Intel Fortran Compiler (64bit) 10.1.021 /opt/intel/fce/10.1.021
Intel MKL 9.1.018 /opt/intel/mkl/9.1.018
Intel MKL 10.1.2.024 /opt/intel/mkl/10.1.2.024
Intel MKL 10.2.2.025 /opt/intel/mkl/10.2.2.025
Intel MPI 3.1 /opt/intel/impi/3.1
Perl 5.8.8 /usr/bin
Python 2.4.3 /usr/bin
<span class='smallblacktext'>[ Edited Fri Nov 12 2010, 02:16AM ]</span>
Last edited by mguo1985 on Fri Nov 12, 2010 1:11 am, edited 1 time in total.

alex
Hero Member
Hero Member
Posts: 584
Joined: Tue Nov 16, 2004 2:21 pm
License Nr.: 5-67
Location: Germany

question about Makefile

#4 Post by alex » Fri Nov 12, 2010 8:02 am

Which CPUs?
Last edited by alex on Fri Nov 12, 2010 8:02 am, edited 1 time in total.

forsdan
Sr. Member
Sr. Member
Posts: 339
Joined: Mon Apr 24, 2006 9:07 am
License Nr.: 173
Location: Gothenburg, Sweden

question about Makefile

#5 Post by forsdan » Fri Nov 12, 2010 11:25 am

@ mguo1985: Instructions for compiling and linking with libraries are given in the manuals to ifort and to the MKL package, respectively. So I recommend you to start reading these. If you have a more specific question, then please go ahead and ask, but the basic procedure you should learn by yourself by looking in the manuals (or online tutorials).

Best regards,
/Dan


<span class='smallblacktext'>[ Edited Fri Nov 12 2010, 12:28PM ]</span>
Last edited by forsdan on Fri Nov 12, 2010 11:25 am, edited 1 time in total.

Locked