| ²é¿´: 5523 | »Ø¸´: 33 | ||||
| ¡¾½±Àø¡¿ ±¾Ìû±»ÆÀ¼Û28´Î£¬×÷Õßwuy069Ôö¼Ó½ð±Ò 22 ¸ö | ||||
| µ±Ç°Ö»ÏÔʾÂú×ãÖ¸¶¨Ìõ¼þµÄ»ØÌû£¬µã»÷ÕâÀï²é¿´±¾»°ÌâµÄËùÓлØÌû | ||||
[×ÊÔ´]
Dalton2011²¢ÐбàÒëÏê¼Ç
|
||||
|
Dalton 2011 ²¢ÐбàÒë ÏÈßëß¶¼¸¾ä±àÒëµÄѪÀáÊ·°É£¡ÕâÍæÒâ±àÒëÆðÀ´ÕæÊǷѾ¢°¡£¬´Ódalton2.0-cam±àÒëÁ˺ܶà´Î£¬´Óg77,gfortran,pgi,ifort±àÒëÆ÷; mpich,mpich2,openmpi,impiµÈmpi; blas,atals,lapack,mklµÈÊýѧ¿â£¬ËäÈ»ÓÐЩÄܱàÒë³É¹¦£¬µ«²âÊÔʱ×ÜÓкܶàÀý×Ó²»ÄÜͨ¹ý¡£²»¹ýÎÒÕâ¸öÈËÔÚ·þÎñÆ÷¡¢ÏµÍ³¡¢Èí¼þµÈ·½Ã滹ÊÇͦÄÜÕÛÌڵ쬲»°ÑËüŪÇå³þ£¬Ê¼ÖÕ¾õµÃÓÐʲô¶«Î÷ѹÔÚÐĵף¬ºÜÊDz»Êæ·þ¡£Dalton2011·¢²¼ºóÒ²ÕÛÌÚÁËÒ»¶Îʱ¼ä£¬Í¨¹ýdaltonÓʼþÁбíÒ²ÎÊÁËЩÎÊÌ⣬ÕâÁ½ÌìÖÕÓÚËã°ÑÕâ²¢ÐбàÒëµÄÎÊÌâ¸ã¶¨ÁË£¬²âÊÔʱ´®ÐкͲ¢ÐÐÀý×Ó¶¼³É¹¦¡£ËäÈ»ËüºÜÄÜÕÛÌÚÈË£¬µ«Ò²ÈÃÎÒѧµ½Á˺ܶࡣºÃÁË£¬ÑÔ¹éÕý´«£¬ÏÂÃæ¾Í½²Dalton2011µÄ²¢ÐбàÒë¡£ ÏÖÔÚ´ó¼ÒËùʹÓõÄLinux·þÎñÆ÷ϵͳ¼¸ºõ¶¼ÊÇ64루x84_64»òamd64£©£¬Òò¶øÔڴ˽²µÄ¼¸ºõ¶¼ÊÇ64λ±àÒëÆ÷ºÍ64λÊýѧ¿â±àÒëµÄDalton2011¡£´ó¼ÒĬÈϱàÒëµÄmpi¶¼ÊÇ32λÕûÊýµÄ£¬Ò²ÄܱàÒë³É¹¦£»µ«×îºÃÓÃ64λÕûÊýµÄmpi¡£ ÏÂÃæ·Ö±ðÓÃgfortran/gcc, ifort/icc±àÒëDalton2011¡£ 1.ʹÓÃgfortran/gcc, openmpi, atlas with full lapack±àÒë²¢ÐеÄDalton2011 1£©Ê×ÏÈ˵Ã÷Ò»µã£¬Ê¹ÓÃgfortran±àÒ룬gfortran°æ±¾ÖÁÉÙÒª¸ßÓÚ4.3£¨ÎÒÓõÄÊÇRHEL6.1 , gfortran°æ±¾Îª4.4.5£©£¬·ñÔòÄã±àÒëʱ»á³öÏÖ´Ë´íÎóFatal Error: Can't open module file 'memory_tracker.mod' for reading at (1): No such file or directory¡£Ê¹ÓÃgfortran -v ÃüÁî²é¿´gfortranµÄ°æ±¾¡£ 2£©ÔÚhttp://www.open-mpi.org/software/ompi/v1.4/ ÏÂÔØÎȶ¨µÄopenmpi£¬ÎÒʹÓõÄÊÇopenmpi-1.4.3¡£Ê¹ÓÃgfortran/gcc±àÒë64λÕûÊýµÄopenmpi£º [wuy@pc2 ~]$ cd tmp/ [wuy@pc2 tmp]$ ls openmpi-1.4.3.tar.gz [wuy@pc2 tmp]$ tar -zxvf openmpi-1.4.3.tar.gz [wuy@pc2 tmp]$ cd openmpi-1.4.3 [wuy@pc2 tmp]$ ./configure --prefix=/home/wuy/mpi/gnu/openmpi-1.4.3 CXX=g++ CC=gcc F77=gfortran FC=gfortran FFLAGS="-m64 -fdefault-integer-8" FCFLAGS="-m64 -fdefault-integer-8" CFLAGS=-m64 CXXFLAGS=-m64 [wuy@pc2 tmp]$ make all install &> make.log & ÓÃgfortran/gcc±àÒë64λÕûÊýµÄopenmpi£¬ÐèÒªÔÚFFLAGSºÍFCFLAGSÑ¡ÏîÖÐÌí¼Ó-fdefault-integer-8¡£ ÔÚ×Ô¼ºÓû§µÄ¸ùĿ¼ÏÂ.bashrcÖÐÌí¼ÓopenmpiµÄ»·¾³±äÁ¿ [wuy@pc2 tmp]$ cd $HOME [wuy@pc2 ~]$ vi .bashrc ÔÚ´ËÎļþÖÐÌí¼Ó£º #set for openmpi-1.4.3 export PATH=/home/wuy/mpi/gnu/openmpi-1.4.3/bin:$PATH export LD_LIBRARY_PATH=/home/wuy/mpi/gnu/openmpi-1.4.3:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=/home/wuy/mpi/gnu/openmpi-1.4.3/lib:$LD_LIBRARY_PATH export OMPI_MPIF77="gfortran" export OMPI_MPIFC="gfortran" export OMPI_MPICC="gcc" export OMPI_MPICXX="g++" #end ±£´æºóÍ˳ö£¨:wq£©£¬Ë¢Ð»·¾³±äÁ¿£» [wuy@pc2 ~]$ source .bashrc [wuy@pc2 ~]$ which mpif90 ~/mpi/gnu/openmpi-1.4.3/bin/mpif90 Õâʱ˵Ã÷¾Í¿ÉÒÔʹÓÃopenmpiÁË¡£ÄÇÈçºÎÖªµÀÎÒÃDZàÒëµÄÊÇ64λÕûÊýµÄopenmpiÄØ£¿ [wuy@pc2 ~]$ ompi_info -a | grep 'Fort integer size' Fort integer size: 8 µÃµ½ÊÇFort integer size: 8£¬ËµÃ÷ÊÇ64λÕûÊýµÄopenmpi£» Èç¹ûµÃµ½µÄÊÇFort integer size: 4£¬ËµÃ÷Äã±àÒëµÄÊÇ32λÕûÊýµÄopenmpi¡£ 3£©Êýѧ¿âµÄÑ¡Ôñ£»ÔÚ´Ë£¬¿ÉÒÔ²»ÓÃ×Ô¼º±àÒëÊýѧ¿â£¬Ê¹ÓÃDalton2011×Ô´øµÄÊýѧ¿âÒ²ÐС£ËäÈ»×Ô´øµÄÊýѧ¿âÒ²ÄܱàÒë³É¹¦£¬µ«ÊDZàÒëºóµÄ¿ÉÖ´ÐдúÂë¿Ï¶¨½ÏÂý¡£ÓÃmklÊýѧ¿âÒ²ÐУ¬µ«ÓÃgfortran±àÒëDalton2011£¬ÎÒ×Ô¼º²»ÍƼöʹÓÃmklÊýѧ¿â¡£ÎÒÃÇ¿ÉÒÔʹÓÃÍêȫ֧³ÖlapackµÄatlas¿â¡£Ê¹ÓÃgfortran±àÒëµÄatlas with full lapack£¬¾ßÌå¼ûhttp://math-atlas.sourceforge.ne ... 00000000|Installing £¬¼û8 Example: Installing ATLAS with full LAPACK on Linux/AMD64¡£Õâ¸öËäÈ»ÊÇÓ¢Îĵ쬳õ²½¿´À´±È½ÏÂé·³£¬µ«Ð´µÄ·Ç³£Ïêϸ£¬°´ÕÕËûµÄ²½Ö裬¿Ï¶¨Äܰ²×°³É¹¦¡£ ÎÒʹÓõÄÊÇatlas3.8.2ºÍlapack-3.1.1£»°²×°³É¹¦ºó»áÓÐ6¸ö¿âº¯Êý£¬libatlas.a libcblas.a libf77blas.a liblapack.a libptcblas.a libptf77blas.a¡£ ÔÚ×Ô¼ºÓû§µÄ¸ùĿ¼ÏÂ.bashrcÖÐÌí¼Ó£¬ #set for atlas with full lapack export INCLUDE=$INCLUDE:/home/wuy/atlas/include export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/wuy/atlas/lib #end ±£´æºóÍ˳ö£¨:wq£©£¬Ë¢Ð»·¾³±äÁ¿£» [wuy@pc2 ~]$ source .bashrc 4£©±àÒëDALTON [wuy@pc2 ~]$ cd chemsoft/ [wuy@pc2 chemsoft]$ ls Dalton2011_release_v0.tgz [wuy@pc2 chemsoft]$ tar -zxvf Dalton2011_release_v0.tgz [wuy@pc2 chemsoft]$ cd Dalton2011_release [wuy@pc2 Dalton2011_release]$ cd DALTON/ [wuy@pc2 DALTON]$ ./configure ------------------------------------------------------------------ Configuring the DALTON Makefile.config and "dalton" run script ------------------------------------------------------------------ INFO: Operating system from 'uname -s' : Linux INFO: Processor type from 'uname -m' : x86_64 No architecture specified, attempting auto-configuration: This appears to be a -linux architecture. Is this correct? [Y/n] Y --> Installing DALTON on a -linux computer Note that 64-bit integers are desirable for Cholesky and very large scale CI, otherwise the most important effect is that some files will be bigger. If you choose 64-bit integers, be careful that any system library routines (incl. MPI) also use 64-bit integers! Do you want 64-bit integers? [y/N] y Do you want to install the program in a parallel MPI version? [Y/n] Y -->WARNING: Makefiles for MPI architecture are difficult to guess Please compare the generated Makefile.config with local documentation. Checking for Fortran compiler ... from this list: mpif90 mpiifort ifort pgf95 pgf90 gfortran g95 Compiler /home/wuy/mpi/gnu/openmpi-1.4.3/bin/mpif90 found, use this compiler? [Y/n] Y -->Compiler mpif90 found and accepted. Is backend compiler gfortran ? [Y/n] Y Checking for C compiler ... from this list: mpicc mpiicc icc ecc pgcc gcc Compiler /home/wuy/mpi/gnu/openmpi-1.4.3/bin/mpicc found, use this compiler? [Y/n] Y -->Compiler mpicc found and accepted. Testing existence of libraries in this order: libacml.a libmkl.so libmkl_p3.a libatlas.a libblas.a Directory search list for libraries: /usr/local/lib/ATLAS /home/wuy/math/atlas3.8.2/stallo-64-i4/lib /home/wuy/atlas/lib /lib /usr/local/lib /usr/lib /usr/local/lib/ATLAS /lib64 /usr/lib64 /usr/local/lib64 Do you want to replace this with your own directory search list? [y/N] N Found /usr/local/lib/ATLAS/libatlas.a, use it? [Y/n] n Found /home/wuy/math/atlas3.8.2/stallo-64-i4/lib/libatlas.a, use it? [Y/n] n Found /home/wuy/atlas/lib/libatlas.a, use it? [Y/n] Y -->The following mathematical library(ies) will be used: -L/home/wuy/atlas/lib -llapack -lcblas -lf77blas -latlas DALTON uses almost 100 Megabytes of static allocations, in addition to the dynamic allocation. DALTON has the possibility to reserve an amount of static memory for storing two-electron integrals in direct and parallel calculations Storing some or all of the 2-el. integrals in memory will speed up direct and parallel calculations (and in particular the latter). NOTE: This will increase the static memory allocation used by DALTON Would you like to activate the possibility of storing 2-el.int. in memory? [y/N] y How many MB to use for storing 2-el. integrals? 3072 -->Program will be installed with 3072 MB (402000000 words) used for storing 2-el. integrals Maximum amount of work memory for dynamic allocations can be changed at run time with the environment variable WRKMEM (in REAL*8 words = megabytes/8) or by using the -M option to the run script: "dalton -M mb ..." (in megabytes). We recommend at least 200 MB work memory, larger for correlated calculations, but it should for maximum efficiency NOT exceed available physical memory per CPU in parallel calculations. How many MB to use as default for work memory (hit return for default of 1000 MB)? -->Program will be installed with a default work memory of 1000 MB (131000000 words) -->Current directory is /home/wuy/Dalton2011_release/DALTON Use default ../bin as installation directory for DALTON binaries and scripts? [Y/n] Y -->DALTON executable and script will be placed in /home/wuy/Dalton2011_release/bin directory -->Default basis set directory will be /home/wuy/Dalton2011_release/DALTON/../basis/ Use this directory as default basis set directory? [Y/n] Y I did not find /work, /scratch, /scr, or /temp. I will use /tmp -->Job specific directories under $SCRATCH/$USER -->will be used for temporary files when running DALTON Use SCRATCH=/tmp as default root scratch space in "dalton" run script? [Y/n] n Please enter default root scratch directory: /home/wuy/tmp -->Creating Makefile.config ... gfortran version 445 prc=x86_64 INFO: Compiling with 64-bit integers. INFO: Make sure pre-compiled BLAS, MPI etc. libraries are also with 64-bit integers!!! Proper 64-bit file access detected. -->Creating the DALTON run-script in /home/wuy/Dalton2011_release/bin The configuration of DALTON has finished succesfully. Check compiler flags etc. in Makefile.config and run "make" to get executable. [wuy@pc2 DALTON]$ Õâʱ»á²úÉúÒ»¸öMakefile.config ÏÂÃæÊÇÎÒµÄMakefile.config [wuy@pc2 DALTON]$ cat Makefile.config ARCH = linux # # CPPFLAGS = -DVAR_GFORTRAN -DSYS_LINUX -DVAR_MFDS -D'INSTALL_WRKMEM=131000000' -D'INSTALL_MMWORK=1' -D_FILE_OFFSET_BITS=64 -DVAR_MPI -DGFORTRAN=445 -DVAR_INT64 -DIMPLICIT_NONE F90 = mpif90 CC = mpicc LOADER = mpif90 RM = rm -f FFLAGS = -march=x86-64 -O3 -ffast-math -funroll-loops -ftree-vectorize -fbacktrace -fdefault-integer-8 SAFEFFLAGS = -march=x86-64 -O3 -ffast-math -funroll-loops -ftree-vectorize -fbacktrace -fdefault-integer-8 CFLAGS = -march=x86-64 -O3 -ffast-math -funroll-loops -ftree-vectorize -std=c99 -DRESTRICT=restrict -DFUNDERSCORE=1 INCLUDES = -I../include MODULES = -J../modules LIBS = -L/home/wuy/atlas/lib -llapack -lcblas -lf77blas -latlas INSTALLDIR = /home/wuy/chemsoft/Dalton2011_release/bin PDPACK_EXTRAS = linpack.o eispack.o gp_zlapack.o gp_dlapack.o GP_EXTRAS = AR = ar ARFLAGS = rvs # flags for ftnchek on Dalton /hjaaj CHEKFLAGS = -nopure -nopretty -nocommon -nousage -noarray -notruncation -quiet -noargumants -arguments=number -usage=var-unitialized # -usage=var-unitialized:arg-const-modified:arg-alias # -usage=var-unitialized:var-set-unused:arg-unused:arg-const-modified:arg-alias # default : dalton linuxparallel.x SAFE_FFLAGS_for_ifort = $(FFLAGS) # # Parallel initialization # MPI_INCLUDE_DIR = MPI_LIB_PATH = MPI_LIB = # # # Suffix rules # hjaaj Oct 04: .g is a "cheat" suffix, for debugging. # 'make x.g' will create x.o from x.F or x.c with -g debug flag set. # .SUFFIXES : .F .F90 .c .o .i .g .s .F.o: $(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) $(FFLAGS) -c $*.F .F.i: $(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) -E $*.F > $*.i .F.g: $(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) $(SAFEFFLAGS) -g -c $*.F .F.s: $(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) $(FFLAGS) -S -g -c $*.F .F90.o: $(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) $(FFLAGS) -c $*.F90 .F90.i: $(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) -E $*.F90 > $*.i .F90.g: $(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) $(SAFEFFLAGS) -g -c $*.F90 .F90.s: $(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) $(FFLAGS) -S -g -c $*.F90 .c.o: $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -c $*.c .c.i: $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -E $*.c > $*.i .c.g: $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -g -c $*.c .c.s: $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -S -g -c $*.c ´ÓÕâMakefile.configÖоͿɿ´³öÊÇÓÃ64λÕûÊýmpi±àÒ룬ÔÚCPPFLAGSÖеÄ-DVR_INT64£¬ÒÔ¼°FFLAGSºÍSAFEFFLAGSÖеÄ-fdefault-integer-8¡£Èç¹ûÊÇ32λÕûÊýmpi±àÒ룬ÐèҪȥµôÕâЩ¡£ »¹ÓÐÒ»µãÒ²ÊÇÐèÒªÌØ±ð×¢ÒâµÄÊÇ£¬ÔÚCPPFLAGSÖÐ-D'INSTALL_MMWORK=1'µÄINSTALL_MMWORKÒ»¶¨ÒªÐ¡ÓÚ2G£¬ÒòΪÕâÓëһЩ±àÒëÆ÷Ö§³ÖµÄÄÚ´æÄ£Ê½Óйأ¬Òª²»È»×îºóÒ»²½Éú³É¿ÉÖ´ÐÐÎļþʱÁ´½Ó¿â»á·¢ÉúÎÊÌâ¡£Õâ¸öµ±Ê±Ò²À§»óÁËÎÒÁ½Ìì¡£ ÓÃgfortran/gcc±àÒ룬¿ÉÒԲο¼ÎÒµÄMakefile.config¡£ ÐÞ¸ÄÍêMakefile.config,¿ªÊ¼±àÒë¡£ [wuy@pc2 DALTON]$ make &> make.log & ÓÐʲô´íÎó»òÆäËûµÄ£¬¿ÉÒÔ¿´make.logÖÐÏàÓ¦²¿·Ö£¬Ò²»áÓÐÌáʾ¡£ Èç¹û±àÒë³É¹¦£¬»áÔÚ../binÎļþ¼ÐÖÐÉú³Édalton_mpi.x dalton.x¡£ ½øÈëDALTON/testÖнøÐвâÊÔ [wuy@pc2 test]$ ./TEST parallel ²âÊÔËùÓв¢ÐеÄÀý×Ó£¬Íê³Éºó»á²úÉúÒ»¸öÒÔʱ¼äΪÃûµÄÎļþ¼Ð£¬ÀïÃæÓиöTESTLOG£¬²é¿´Æä×îºó¼¸ÐУ¬Èç¹û³öÏÖALL TESTS ENDED PROPERLY! ¹§Ï²Ä㣬±àÒëµÄ²¢ÐÐÀý×ӳɹ¦¡£ [wuy@pc2 test]$ ./TEST all ²âÊÔËùÓзDz¢ÐеÄÀý×Ó¡£Í¬Ñù£¬Èç¹û³öÏÖALL TESTS ENDED PROPERLY! ΪÕýÈ·¡£ Á½¸ö¶¼³öÏÖALL TESTS ENDED PROPERLY! ˵Ã÷±àÒëµÄ·Ç³£³É¹¦¡£ 5£©±àÒëLSDALTON ÏÂÃæÊÇÎÒµÄMakefile.config [wuy@pc2 LSDALTON]$ cat Makefile.config ARCH = linux FMMDIR = mm # # CPPFLAGS = -DSYS_LINUX -D_FILE_OFFSET_BITS=64 -D'INSTALL_BASDIR="/home/wuy/chemsoft/Dalton2011_release/basis"' -DGFORTRAN=445 -DVAR_LINSCA -DIMPLICIT_NONE F77 = gfortran F90 = gfortran FLNK = gfortran CC = gcc RM = rm -f FFLAGS = -march=x86-64 -O3 -ffast-math -funroll-loops -ftree-vectorize -ffloat-store F90OPTFLAGS = -march=x86-64 -O3 -ffast-math -funroll-loops -ftree-vectorize -ffloat-store -I. -x f95-cpp-input -ffloat-store -fopenmp SAFEFFLAGS = -march=x86-64 -O3 -ffast-math -funroll-loops -ftree-vectorize -ffloat-store CFLAGS = -march=x86-64 -O3 -ffast-math -funroll-loops -ftree-vectorize -std=c99 -DRESTRICT=restrict -DFUNDERSCORE=1 -ffloat-store -DUSE_UNDERSCORES INCLUDES = LIBS = -L/home/wuy/atlas/lib -lf77blas -latlas -L/usr/lib/gcc/x86_64-redhat-linux/4.4.4 -lgomp INSTALLDIR = /home/wuy/chemsoft/Dalton2011_release/bin PDPACK_EXTRAS = linpack.o eispack.o gp_zlapack.o gp_dlapack.o gp_zlapack.o AR = ar ARFLAGS = rvs # default : linux.x # # Suffix rules C # .SUFFIXES : .F90 .f90 .F .o .c .F90.o: $(F90) $(INCLUDES) $(CPPFLAGS) $(F90OPTFLAGS) -c $*.F90 .f90.o: $(F90) $(INCLUDES) $(CPPFLAGS) $(F90OPTFLAGS) -c $*.f90 .F.o: $(F77) $(INCLUDES) $(CPPFLAGS) $(FFLAGS) -c $*.F .c.o: $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -c $*.c [wuy@pc2 LSDALTON]$ ÐÞ¸ÄÍêMakefile.config,¿ªÊ¼±àÒë¡£ [wuy@pc2 LSDALTON]$ make &> make.log & ±àÒë³É¹¦ºó£¬»áÔÚ../binÖÐÉú³Élsdalton.x¡£ ͬÑùÐèÒª¶ÔÆä½øÐвâÊÔ¡£ 2.ʹÓÃifort/icc, mkl, openmpi±àÒë²¢ÐÐDalton2011 1£©ÏÖÔÚiccÒ²Ãâ·ÑÁË£¬ÓÃintelÕâÌ×±àÒëÆ÷ÒÔ¼°Êýѧ¿â±àÒëÊÇ´óÊ¢ÆäÐС£È¥http://software.intel.com/en-us/ ... ftware-development/ ×¢²á»ñÈ¡licenseºÍÏàÓ¦µÄ±àÒëÆ÷ºÍÊýѧ¿â¡£Èç¹ûÄãÊÇÏÂÔØµÄ×îÐÂifort12±àÒëÆ÷l_fcompxe_intel64_2011.7.256.tgz£¬¾Í²»ÐèÓÃÏÂÔØmklÁË£¬ÒòΪÀïÃæÒѰüº¬×îеÄmklÊýѧ¿âÁË¡£ ÎÒʹÓõÄifort/icc 11.1, mkl 10.2.5.035£»Ë¢ÐÂÆäÏàÓ¦»·¾³±äÁ¿£¬ÔÚ×Ô¼ºÓû§µÄ¸ùĿ¼ÏÂ.bashrcÖÐÌí¼Ó£¨µ±È»Ò²¿ÉÒÔÖ±½ÓÓÃÃüÁîˢУ¬Ê¹ÆäûÓÐÀ뿪µÇ¼½çÃæÉúЧ£©£¬ source /opt/intel/Compiler/11.1/072/bin/ifortvars.sh intel64 source /opt/intel/Compiler/11.1/072/bin/iccvars.sh intel64 source /opt/intel/mkl/10.2.5.035/tools/environment/mklvarsem64t.sh ±£´æºóÍ˳ö£¨:wq£©£¬Ë¢Ð»·¾³±äÁ¿£» [wuy@cluster ~]$ source .bashrc 2£©Ê¹ÓÃifort/icc±àÒë64λÕûÊýµÄopenmpi [wuy@cluster tmp]$ ls openmpi-1.4.3.tar.gz [wuy@cluster tmp]$ tar -zxvf openmpi-1.4.3.tar.gz [wuy@ cluster tmp]$ cd openmpi-1.4.3 [wuy@ cluster tmp]$ ./configure --prefix=/home/wuy/mpi/intel/openmpi-1.4.3 CXX=icpc CC=icc F77=ifort FC=ifort FFLAGS=-i8 FCFLAGS=-i8 [wuy@pc2 tmp]$ make all install &> make.log & ÓÃifort/icc±àÒë64λÕûÊýµÄopenmpi£¬ÐèÒªÔÚFFLAGSºÍFCFLAGSÑ¡ÏîÖÐÌí¼Ó-i8¡£ ÔÚ×Ô¼ºÓû§µÄ¸ùĿ¼ÏÂ.bashrcÖÐÌí¼ÓopenmpiµÄ»·¾³±äÁ¿ [wuy@ cluster tmp]$ cd $HOME [wuy@ cluster ~]$ vi .bashrc ÔÚ´ËÎļþÖÐÌí¼Ó£º #set for openmpi-1.4.3 export PATH=/home/wuy/mpi/intel/openmpi-1.4.3/bin:$PATH export LD_LIBRARY_PATH=/home/wuy/mpi/intel/openmpi-1.4.3:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=/home/wuy/mpi/intel/openmpi-1.4.3/lib:$LD_LIBRARY_PATH export OMPI_MPIF77="ifort" export OMPI_MPIFC="ifort" export OMPI_MPICC="icc" export OMPI_MPICXX="icc" #end ±£´æºóÍ˳ö£¨:wq£©£¬Ë¢Ð»·¾³±äÁ¿£» [wuy@ cluster ~]$ source .bashrc [wuy@ cluster ~]$ which mpif90 ~/mpi/intel/openmpi-1.4.3/bin/mpif90 Õâʱ˵Ã÷¾Í¿ÉÒÔʹÓÃopenmpiÁË¡£ÄÇÈçºÎÖªµÀÎÒÃDZàÒëµÄÊÇ64λÕûÊýµÄopenmpiÄØ£¿ [wuy@ cluster ~]$ ompi_info -a | grep 'Fort integer size' Fort integer size: 8 µÃµ½ÊÇFort integer size: 8£¬ËµÃ÷ÊÇ64λÕûÊýµÄopenmpi£» ×¢Ò⣺ʹÓÃimpi (intel mpi)ʱ£¬ÓÃompi_info -a | grep 'Fort integer size'µÃµ½µÄÊÇFort integer size: 4£»²¢ÇÒÔÚimpiÊÖ²áÖÐÓÐÕâÁ½¾ä»°£º¡°Do not use the ¨Ci8 option to compile MPI callback functions,¡± ; ¡°The Fortran module supports 32-bit INTEGER size only.¡± Òò¶øÊ¹ÓÃimpi±àÒëʱ£¬ÓÃ32λÕûÊý±àÒ룬¼´È¥µôÎÒÏÂÃæËµµÄCPPFLAGSÖеÄ-DVR_INT64£¬ÒÔ¼°FFLAGSºÍSAFEFFLAGSÖеÄ-i8£»Ê¹ÓÃMKLÊÇÓÃLIBS = -L$your_path_to_MKL -lmkl_intel_lp64 -lmkl_sequential -lmkl_core 3£©±àÒëDALTON ÓÉÓÚÇ°Ãæ±È½ÏÏêϸµÄ½éÉÜÁËgfortran/gcc±àÒ룬ÏàÓ¦²½Öè¿ÉÒԲμû£» ÔÚÕâÀïÎÒ½öÁгöÎÒµÄMakefile.config,ÒÔ¼°Ò»Ð©½âÊÍ£» [wuy@cluster DALTON]$ cat Makefile.config ARCH = linux # # CPPFLAGS = -DVAR_IFORT -DSYS_LINUX -DVAR_MFDS -D'INSTALL_WRKMEM=1310000000' -D'INSTALL_MMWORK=1' -D_FILE_OFFSET_BITS=64 -DVAR_MPI -DVAR_INT64 -DIMPLICIT_NONE F90 = mpif90 CC = mpicc LOADER = mpif90 RM = rm -f FFLAGS = -g -O3 -xSSE4.2 -ip -w -fpp -assume byterecl -i8 SAFEFFLAGS = -g -O1 -w -fpp -assume byterecl -i8 CFLAGS = -g -O3 -xSSE4.2 -ip -restrict -DRESTRICT=restrict INCLUDES = -I../include MODULES = -module ../modules LIBS = -L/opt/intel/mkl/10.2.5.035/lib/em64t -Wl,--start-group /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_intel_ilp64.a /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_sequential.a /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_core.a -Wl,--end-group -lpthread INSTALLDIR = /home/wuy/chemsoft/Dalton2011_release/bin PDPACK_EXTRAS = linpack.o eispack.o gp_dlapack.o gp_zlapack.o GP_EXTRAS = AR = ar ARFLAGS = rvs # flags for ftnchek on Dalton /hjaaj CHEKFLAGS = -nopure -nopretty -nocommon -nousage -noarray -notruncation -quiet -noargumants -arguments=number -usage=var-unitialized # -usage=var-unitialized:arg-const-modified:arg-alias # -usage=var-unitialized:var-set-unused:arg-unused:arg-const-modified:arg-alias # default : dalton linuxparallel.x SAFE_FFLAGS_for_ifort = $(SAFEFFLAGS) # # Parallel initialization # MPI_INCLUDE_DIR = MPI_LIB_PATH = MPI_LIB = # # # Suffix rules # hjaaj Oct 04: .g is a "cheat" suffix, for debugging. # 'make x.g' will create x.o from x.F or x.c with -g debug flag set. # .SUFFIXES : .F .F90 .c .o .i .g .s .F.o: $(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) $(FFLAGS) -c $*.F .F.i: $(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) -E $*.F > $*.i .F.g: $(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) $(SAFEFFLAGS) -g -c $*.F .F.s: $(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) $(FFLAGS) -S -g -c $*.F .F90.o: $(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) $(FFLAGS) -c $*.F90 .F90.i: $(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) -E $*.F90 > $*.i .F90.g: $(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) $(SAFEFFLAGS) -g -c $*.F90 .F90.s: $(F90) $(INCLUDES) $(MODULES) $(CPPFLAGS) $(FFLAGS) -S -g -c $*.F90 .c.o: $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -c $*.c .c.i: $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -E $*.c > $*.i .c.g: $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -g -c $*.c .c.s: $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -S -g -c $*.c ÕâÀïÎÒÓõÄÊÇÖÁÇ¿CPU£¬Òò¶øFFLAGSºÍCFLAGSʹÓõÄÊÇ-xSSE4.2£»¿ÉÒÔ¸ù¾Ý×Ô¼ºµÄcpuµ÷ÕûÑ¡Ïî¡£´ÓÕâMakefile.configÒ²¿É¿´³öÊÇÓÃ64λÕûÊýmpi±àÒ룬ÔÚCPPFLAGSÖеÄ-DVR_INT64£¬ÒÔ¼°FFLAGSºÍSAFEFFLAGSÖеÄ-i8¡£Èç¹ûÊÇ32λÕûÊýmpi±àÒ룬ÐèҪȥµôÕâЩ¡£ »¹ÓÐÒ»µãÒ²ÊÇÐèÒªÌØ±ð×¢ÒâµÄÊÇ£¬ÔÚCPPFLAGSÖÐ-D'INSTALL_MMWORK=1'µÄINSTALL_MMWORKÒ»¶¨ÒªÐ¡ÓÚ2G£¬ÒòΪÕâÓëһЩ±àÒëÆ÷Ö§³ÖµÄÄÚ´æÄ£Ê½Óйأ¬Òª²»È»×îºóÒ»²½Éú³É¿ÉÖ´ÐÐÎļþʱÁ´½Ó¿â»á·¢ÉúÎÊÌâ¡£Õâ¸öµ±Ê±Ò²À§»óÁËÎÒÁ½Ìì¡£ ÔÚ´Ë£¬ËµÃ÷ϼÓÔØmkl¿â£¬ use this lib line for MKL (2010/2011 version; 32-bit integers == default; non-threaded MKL): LIBS = -L$your_path_to_MKL -lmkl_intel_lp64 -lmkl_sequential -lmkl_core MKL (2010/2011 version; 64-bit integers == non-default; non-threaded MKL) LIBS = -L$your_path_to_MKL -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core MKL (2010/2011 version; 64-bit integers == non-default; threaded MKL with gfortran as f90 compiler) LIBS = -Wl,--start-group -lmkl_gf_ilp64 -lmkl_intel_thread -lmkl_core -Wl,--end-group -liomp5 ¨Clpthread ÉÏÃæÓõÄÊǶ¯Ì¬Á´½Ó¿â£¬²¢ÇÒ¶¯Ì¬Á´½Ó¿âÒ²ÓкܶàÓŵ㣨±àÒëµÄÖ´ÐÐÎļþС£»¿ÉʵÏÖ½ø³ÌÖ®¼äµÄ×ÊÔ´¹²Ïí£»½«Ò»Ð©³ÌÐòÉý¼¶±äµÃ¼òµ¥£¬µÈµÈ£©¡£¾¡¹Ü¶¯Ì¬Á´½ÓÓÐÕâô¶àºÃ´¦£¬µ«²»ÖªµÀÊÇÎÒϵͳÎÊÌ⻹ÊÇÔõôµÄ£¬Ò»Ð©²âÊÔ¾ÓȻ˵ÕÒ²»µ½¶¯Ì¬Á´½Ó¿â£¨ÎÒÓÃlddÃ÷ÏÔ¿´µ½ÊǼÓÔØÁ˵쬲¢ÇÒË¢ÐÂÁËÏàÓ¦±äÁ¿£©¡£Òò´Ë£¬¾¡¹Ü¶¯Ì¬Á´½ÓºÃ´¦¶à£¬×îºóÎÒ»¹ÊǸÄΪ¾²Ì¬Á´½ÓÁË¡£È磺LIBS = -L/opt/intel/mkl/10.2.5.035/lib/em64t -Wl,--start-group /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_intel_ilp64.a /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_sequential.a /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_core.a -Wl,--end-group ¨Clpthread ²âÊԵȲο¼gfortran±àÒë¡£ 4£©±àÒëLSDALTON ÎÒµÄMakefile.config ARCH = linux FMMDIR = mm # # CPPFLAGS = -DSYS_LINUX -D_FILE_OFFSET_BITS=64 -D'INSTALL_BASDIR="/home/wuy/chemsoft/Dalton2011_release/basis"' -DVAR_LINSCA -DIMPLICIT_NONE F77 = ifort F90 = ifort FLNK = ifort CC = icc RM = rm -f FFLAGS = -O3 -xSSE4.2 -ip -w F90OPTFLAGS = -O3 -xSSE4.2 -ip -w -fpp1 -openmp SAFEFFLAGS = -O2 -w CFLAGS = -O3 -xSSE4.2 -ip -restrict -DRESTRICT=restrict -DUSE_UNDERSCORES INCLUDES = LIBS = -L/opt/intel/mkl/10.2.5.035/lib/em64t -Wl,--start-group /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_intel_ilp64.a /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_sequential.a /opt/intel/mkl/10.2.5.035/lib/em64t/libmkl_core.a -Wl,--end-group -lpthread -Vaxlib -Wl,-rpath=/opt/intel/Compiler/11.1/072/lib/intel64 -lguide -lpthread INSTALLDIR = /home/wuy/chemsoft/Dalton2011_release/bin PDPACK_EXTRAS = linpack.o eispack.o gp_dlapack.o gp_zlapack.o AR = ar ARFLAGS = rvs # default : linux.x # # Suffix rules C # .SUFFIXES : .F90 .f90 .F .o .c .F90.o: $(F90) $(INCLUDES) $(CPPFLAGS) $(F90OPTFLAGS) -c $*.F90 .f90.o: $(F90) $(INCLUDES) $(CPPFLAGS) $(F90OPTFLAGS) -c $*.f90 .F.o: $(F77) $(INCLUDES) $(CPPFLAGS) $(FFLAGS) -c $*.F .c.o: $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) -c $*.c ÖÂл£º Ê×ÏȸÐлÎâË®ÐÇʦÐÖÔÚlinux·þÎñÆ÷ÒÔ¼°¼ÆËã»ú֪ʶ·½ÃæµÄÆôÃɼ°½Ìµ¼£¬¸ÐлÎÂÊÀÕýʦÐÖÔÚ±àÒëÆ÷µÈ·½ÃæµÄʹÓÃµÄÆôÃÉÒÔ¼°±àÒë¹ý³ÌÖеİïÖú£¬Ò²¸Ð뱦µÂ³ÂÆëÍú¹¤³ÌʦÔÚ±àÒë¹ý³ÌÖеİïÖú£¡ Îâ Ó ÓÚ2011/10/30 19:18 pm |
» ÊÕ¼±¾ÌûµÄÌÔÌûר¼ÍƼö
¿ÆÑÐСľ³æ | ×Ô¼º¸Ð¾õºÃµÄ¶«Î÷ |
» ²ÂÄãϲ»¶
Ïã¸ÛÀí¹¤´óѧ¼ÆËã²ÄÁÏÓëÎïÀí¿ÎÌâ×éÕÐÆ¸²©ºó
ÒѾÓÐ15È˻ظ´
Ïã¸ÛÀí¹¤´óѧ¼ÆËã²ÄÁÏÓëÎïÀí¿ÎÌâ×éÕÐÆ¸²©ºó
ÒѾÓÐ15È˻ظ´
ÎïÀí»¯Ñ§ÂÛÎÄÈóÉ«/·ÒëÔõôÊÕ·Ñ?
ÒѾÓÐ127È˻ظ´
Çó±ê×¼¿¨Æ¬Cu0.4In0.4Zn1.2S2 PDF#32-0340
ÒѾÓÐ2È˻ظ´
Î÷°àÑÀInstitut Catal¨¤ de Nanoci¨¨ncia i Nanotecnologia, CSIC-BISTÕÐÊÕ¹«Åɲ©Ê¿Éú
ÒѾÓÐ0È˻ظ´
±ÈÀûʱ³ãë´óѧÓë¹ú¼ÒÁôѧ»ù½ðί¹²Í¬×ÊÖú²©Ê¿Ñо¿ÉúCSC-KU Leuven PhD Scholarship
ÒѾÓÐ0È˻ظ´
Á¿×ÓµãµçÖ·¢¹âÆ÷¼þ£¨QLED£©£ºÀ¶¹âÁ¿×ӵ㣨QDs£©ºÍÄÉÃ×Ñõ»¯Ð¿µç×Ó´«Êä²ÄÁÏ
ÒѾÓÐ0È˻ظ´
Ó¢¹úÀûÎïÆÖ´óѧÍÀ꿺ÍӺѩ¿ÎÌâ×éÕÐÊÕCSC²©Ê¿Éú
ÒѾÓÐ26È˻ظ´
±±¾©½»Í¨´óѧÍõÎõ½ÌÊÚÍŶÓÕÐÊÕ2026ÄêÈëѧ´ß»¯·½Ïò²©Ê¿Ñо¿Éú£¨»¹ÓÐ1¸öÃû¶î£©
ÒѾÓÐ0È˻ظ´
ÐèÒªÒ»¸öԲƫÕñ¹âÓÕµ¼»¯Ñ§·´Ó¦£¬ÇëÎÊʹÓÃԲƫÕñ¹â×÷Ϊ¹âÔ´£¬Ó¦¸ÃÐèÒªÄÄЩÉ豸´î½¨
ÒѾÓÐ0È˻ظ´
»ª±±µçÁ¦´óѧ£¨±±¾©£©£¨µÚÒ»ÐÔÔÀí¼ÆË㣩²©Ê¿ÕÐÉú¡ª¡ªÑ§²©£¬×¨²©¸÷1ÈË
ÒѾÓÐ40È˻ظ´
» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍÆ¼ö£¬¶ÔÄúͬÑùÓаïÖú:
°²×°lammps²¢ÐбàÒëʱ ³öÏÖµÄÎÊÌâ
ÒѾÓÐ5È˻ظ´
°²×°Ìù£ºUbuntu 12.04(64) ²¢ÐбàÒëCPMD3.15.3
ÒѾÓÐ4È˻ظ´
ÓÃICC»¹ÊÇGCC±àÒ룿
ÒѾÓÐ3È˻ظ´
vasp²¢ÐбàÒëͨ¹ý£¬ÔËÐÐÈ´³öÏÖ´íÎóÌáʾ
ÒѾÓÐ5È˻ظ´
СÓïÖÖ£¨ÈÕÓï)ÒªÇóÊÇN2£¬¾É2¼¶ÐÐÂð£¿
ÒѾÓÐ11È˻ظ´
ifort(10.1.012) + MKL(10.0.2.018) + OpenMPI(1.4.4)±àÒë²¢ÐÐvasp-5.2.2
ÒѾÓÐ85È˻ظ´
ifort£¨mpiifort£©²¢ÐбàÒësiesta
ÒѾÓÐ9È˻ظ´
ÔËÐÐÒѾ±àÒëºÃµÄ×ÊÔ´£ºvasp52opt.rar ³öÏÖ²¢Ðв»ÄÜÓõÄÎÊÌ⣡
ÒѾÓÐ3È˻ظ´
siesta-3.1²¢ÐбàÒëÍê³Éʱ£¬³öÁËÕâôһ¾ä»°¡£¡£¡£
ÒѾÓÐ6È˻ظ´
cp2k²¢ÐбàÒë³ö´í
ÒѾÓÐ3È˻ظ´
vasp5.2 ²¢ÐбàÒëÈçºÎÐÞ¸Ämakefile
ÒѾÓÐ5È˻ظ´
¡¾pwzhou¸öÈËÎ¿Molpro 2010.1 PL20 ²¢ÐбàÒë
ÒѾÓÐ5È˻ظ´
¡¾ÇóÖú¡¿µ¥»ú¶àºË²¢ÐÐVASP£¬ÈçºÎ±àÒ룿
ÒѾÓÐ5È˻ظ´
¡¾ÇóÖú¡¿ÇóÏêϸµÄPWscf²¢ÐбàÒë¹ý³Ì£¨Ô½ÏêϸԽºÃ£¬°üÀ¨¸÷ÖÖ»·¾³ºÍ²ÎÊýµÄÉèÖ㬼°Èí¼þµ
ÒѾÓÐ29È˻ظ´
¡¾ÇóÖú³É¹¦¡¿µ¥»ú±àÒë²¢ÐÐVASP£¬³öÏÖÓï·¨´íÎó
ÒѾÓÐ6È˻ظ´
¡¾ÇóÖú¡¿linuxÏÂlapack¿â±àÒë²âÊÔ´íÎó
ÒѾÓÐ3È˻ظ´
¡¾ÇóÖú¡¿dalton-2.0±àÒë¼°²âÊÔÎÊÌ⡾Íê½á¡¿
ÒѾÓÐ18È˻ظ´
12Â¥2011-12-07 19:24:59
lihb734
Ìú¸Ëľ³æ (Ö°Òµ×÷¼Ò)
- QCÇ¿Ìû: 2
- Ó¦Öú: 132 (¸ßÖÐÉú)
- ½ð±Ò: 7495.4
- Ìû×Ó: 3107
- ÔÚÏß: 1177.3Сʱ
- ³æºÅ: 448403
2Â¥2011-11-10 21:53:22
gmy1990
ÈÙÓþ°æÖ÷ (ÖøÃûдÊÖ)
- QCÇ¿Ìû: 1
- Ó¦Öú: 163 (¸ßÖÐÉú)
- ¹ó±ö: 0.782
- ½ð±Ò: 13422.7
- Ìû×Ó: 1627
- ÔÚÏß: 1019.7Сʱ
- ³æºÅ: 745920
3Â¥2011-11-10 22:33:43
7Â¥2011-11-11 08:53:24
¼òµ¥»Ø¸´
xuhu_116Â¥
2011-11-11 08:45
»Ø¸´
¶¥Ò»Ï£¬¸Ðл·ÖÏí£¡
yunnanyan10Â¥
2011-11-29 20:34
»Ø¸´
ÎåÐÇºÃÆÀ ¶¥Ò»Ï£¬¸Ðл·ÖÏí£¡













»Ø¸´´ËÂ¥