| ²é¿´: 2121 | »Ø¸´: 6 | ||||
| ¡¾½±Àø¡¿ ±¾Ìû±»ÆÀ¼Û5´Î£¬×÷ÕßggdhÔö¼Ó½ð±Ò 3.6 ¸ö | ||||
ggdhר¼Ò¹ËÎÊ (ÕýʽдÊÖ)
|
[×ÊÔ´]
Dalton2011 ±àÒëÐĵÃ
|
|||
|
С½á£º°²×°Dalton2011µÄ¹Ø¼üµã£º1£¬Ò»¸ö½Ï¸ß°æ±¾µÄ±àÒëÆ÷¡£2£¬Èç¹ûÊÇ×°64λµÄdalton£¬ÄÇô¾ÍÐèÒª64λµÄÊýѧ¿âÒÔ¼°64λµÄopenmpi¡£32µÄÒàÈ»¡£±¾ÎÄÖÐûÓаüÀ¨Êýѧ¿âµÄ°²×°¡£3£¬±àÒëopenmpiµÄ±àÒëÆ÷ºÍ±àÒëdaltonµÄ±àÒëÆ÷Òª±£³ÖÒ»Ö¡£ ±àÒëDaltonʧ°Ü£¬ÔÚÍøÉÏÒ»²é¡£»¹Ã»ÓÐÍêÕûµÄDalton2011µÄ±àÒë¹ý³Ì ÓÚÊÇ´òËãдһƪ·½±ãºóÀ´ÈË£º ±àÒëDaltonʱ³ö´í£º cc1: error: unrecognized command line option "-fbacktrace"* ÉÏdalton¹ÙÍøµÄÓû§ÓʼþÁÐ±í¿´µ½»Ø´ð˵¿ÉÄÜÊÇgcc°æ±¾¹ýµÍ Dear Ivan, since it does not seem very likely that you changed the F90 compiler between the initial compilation (until you hit the cc1 error) and the continuation, which would render any first round-compiled module file unreadable, my best guess is that your gfortran compiler is too old (your gcc line in the previous mail said 4.1.2). you need at least version 4.3 to work properly with module files. the latest stable version of gfortran is 4.7 if I am not mistaken. hope this helps. with best regards, stefan sent from my iPad ÓÃgcc -v ÃüÁî²é¿´±¾»úgcc°æ±¾ gcc version 3.4.6 20060404 ÓÚÊÇ¿ªÊ¼°²×°gcc °²×°gcc֮ǰÏȵð²×°Èý¸öÒÀÀµ°ü gmp °²×° GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. È¥http://gmplib.org/ÏÂÔØgmp-5.0.2.tar.bz2 ¿½±´µ½·þÎñÆ÷ÉÏ ½âѹ tar -jxvf gmp-5.0.2.tar.bz2 cd ./gmp-5.0.2 ´´½¨°²×°Ä¿Â¼ mkdir ../../local/gmp-5.0.2 ./configure --prefix=/home/qin/local/gmp-5.0.2 ¿ªÊ¼±àÒë make make install make check ±àÒë³É¹¦ºóÔÚ~/.bashrcÀïÃæÐ´Èë»·¾³±äÁ¿ export LD_LIBRARY_PATH=/home/qin/local/gmp-5.0.2/lib:$LD_LIBRARY_PATH mpfr °²×° The MPFR library is a C library for multiple-precision floating-point computations with correct rounding È¥http://www.mpfr.org/ÏÂÔØmpfr-3.1.0.tar.bz2 ¿½±´µ½·þÎñÆ÷ÉÏ ½âѹ tar -jxvf mpfr-3.1.0 cd mpfr-3.1.0 ´´½¨°²×°Ä¿Â¼ mkdir ../../local/mpfr-3.1.0 ./configure --prefix=/home/qin/local/mpfr-3.1.0 ¿ªÊ¼±àÒë make make check make install ±àÒë³É¹¦ºóÔÚ~/.bashrcÀïÃæÐ´Èë»·¾³±äÁ¿ export LD_LIBRARY_PATH=/home/qin/local/mpfr-3.1.0/lib:$LD_LIBRARY_PATH mpc°²×° Mpc is a C library for the arithmetic of complex numbers with arbitrarily high precision and correct rounding of the result. È¥http://www.multiprecision.org/ÏÂÔØmpc-0.9.tar.gz ¿½±´µ½·þÎñÆ÷ÉÏ ½âѹ tar -xzvf mpc-0.9.tar.gz cd mpc-0.9 mkdir ../../local/mpc-0.9 ./configure --prefix=/home/qin/local/mpc-0.9 --with-gmp=/home/qin/local/gmp-5.0.2 --with-mpfr=/home/qin/local/mpfr-3.1.0 make make install ±àÒë³É¹¦ºóÔÚ~/.bashrcÀïÃæÐ´Èë»·¾³±äÁ¿ export LD_LIBRARY_PATH=/home/qin/local/mpc-0.9/lib:$LD_LIBRARY_PATH gcc°²×° ´Ógcc¹ÙÍøÏÂÔØ×îÐÂgcc-4.6.2.tar.gz ½âѹºóн¨Á½¸öĿ¼£¬Ò»¸öÓÃÀ´±àÒ룬һ¸öÓÃÀ´·Å±àºÃµÄgcc mkdir ~/local/gcc-4.6.2 mkdir ~/local/gcc-temp cd ~/local/gcc-temp ./configure --prefix=/home/qin/local/gcc-4.6.2 --with-gmp=/home/qin/local/gmp-5.0.2 --with-mpfr=/home/qin/local/mpfr-3.1.0 --with-mpc=/home/qin/local/mpc-0.9 make make install Âþ³¤µÈ´ý2Сʱ °²×°ºÃÖ®ºó ÔÚ~/.bashrcÖиĻ·¾³±äÁ¿ export LD_LIBRARY_PATH=/home/qin/local/gcc-4.6.2/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=/home/qin/local/gcc-4.6.2/lib64:$LD_LIBRARY_PATH export PATH=/home/qin/local/gcc-4.6.2/bin:$PATH È»ºó source ~/.bashrc È»ºó which gcc ÏÔʾ ~/local/gcc-4.6.2/bin/gcc ´ó¹¦¸æ³ÉÁË¡£ ½ÓÏÂÀ´°²×°dalton Dalton2011°²×° ÏȽâѹ tar -jxvf Dalton2011_release_v0.tbz cd Dalton2011_release/DALTON ./configure ³öÏÖÒ»¶ÑÊÇ·ÇÎÊ´ðÌâ¡£Ò»°ãѡĬÈϼ´¿É µ«ÊÇÊýѧ¿âµÄÑ¡ÔñҪעÒâһϠ~/local/gcc-4.6.2/bin/gccFound /opt/intel/mkl/10.0.2.018/lib/32/libmkl.so, use it? [Y/n] n Found /opt/intel/mkl/10.0.2.018/lib/64/libmkl.so, use it? [Y/n] n Found /opt/intel/mkl/10.0.2.018/lib/em64t/libmkl.so, use it? [Y/n] n Found /opt/intel/mkl/10.1.1.019/lib/32/libmkl.so, use it? [Y/n] n Found /opt/intel/mkl/10.1.1.019/lib/64/libmkl.so, use it? [Y/n] y ÏÔÈ»·þÎñÆ÷ÉÏ×°Á˲»ÉÙÊýѧ¿â£¬ÎÒÑ¡ÁËÒ»¸ö°æ±¾½Ï¸ßµÄ64λµÄ¡£ È»ºó¿ªÊ¼±àÒë make ²»ÐÒÓÖ³ö´íÁË make[1]: Entering directory `/home/qin/Dalton2011_release/DALTON/lucita' make --no-print-directory dalton_mpi.o lucita_mcscf_ci_cfg.o lucita_cfg.o lucita_orbitalspaces.o par_sync_cw.o par_io.o par_communication_model.o par_io_fh.o mpif90 -I../include -J../modules -DVAR_GFORTRAN -DSYS_LINUX -DVAR_MFDS -D'INSTALL_WRKMEM=1048000000' -D'INSTALL_MMWORK=1' -D_FILE_OFFSET_BITS=64 -DVAR_MPI -DGFORTRAN=462 -DVAR_INT64 -DIMPLICIT_NONE -march=x86-64 -O3 -ffast-math -funroll-loops -ftree-vectorize -fbacktrace -fdefault-integer-8 -c dalton_mpi.F90 dalton_mpi.F90:16.9: use mpi 1 Fatal Error: Parse error when checking module version for file 'mpi.mod' opened at (1) ²éÔÒò£¬¿ÉÄÜÊÇopenmpi±àÒëÓõÄgccºÍÏÖÔÚgcc°æ±¾²»Í¬Ôì³ÉµÄ¡£ ÓÚÊÇÈ¥ÏÂopenmpi openmpiµÄ°²×° È¥http://www.open-mpi.org/ÏÂÔØopenmpi-1.4.4.tar.bz2 tar -jxvf openmpi-1.4.4.tar.bz2 ½¨Á¢Ä¿±êĿ¼ mkdir ./local/openmpi-1.4.4 cd ./openmpi-1.4.4 ÅäÖà ./configure --prefix=/home/qin/local/openmpi-1.4.4 ¿ªÊ¼±àÒë make make install дÈë»·¾³±äÁ¿ export MPI_ROOT=/home/qin/local/openmpi-1.4.4 export LD_LIBRARY_PATH=$MPI_ROOT/lib:$LD_LIBRARY_PATH export PATH=$MPI_ROOT/bin:$PATH source ~/.bashrc ÖØÐ°²×°Dalton2011 ¡£¡£¡£¡£ ÓÖ³ö´íÁË£º mpif90 -I../include -J../modules -DVAR_GFORTRAN -DSYS_LINUX -DVAR_MFDS -D'INSTALL_WRKMEM=1048000000' -D'INSTALL_MMWORK=1' -D_FILE_OFFSET_BITS=64 -DVAR_MPI -DGFORTRAN=462 -DVAR_INT64 -DIMPLICIT_NONE -march=x86-64 -O3 -ffast-math -funroll-loops -ftree-vectorize -fbacktrace -fdefault-integer-8 -c par_sync_cw.F90 par_sync_cw.F90:244.68: call dalton_mpi_bcast(set_sync_default_val, 0, mpi_comm_world) 1 Error: There is no specific subroutine for the generic 'dalton_mpi_bcast' at (1) par_sync_cw.F90:223.64: ......... Error: There is no specific subroutine for the generic 'dalton_mpi_bcast' at (1) par_sync_cw.F90:142.78: call dalton_mpi_bcast(lucita_cfg_max_batch_size, 0, mpi_comm_world) 1 Error: There is no specific subroutine for the generic 'dalton_mpi_bcast' at (1) Fatal Error: Error count reached limit of 25. Õâ´ÎÓÖÔÚDaltonÓʼþÁбíÉÏÕÒµ½ÁËÀàËÆ´íÎó Hi Nikolai, this is indeed a bit puzzling. Your Makefile.config seems OK at first glance wrt the MPI settings. You are using OpenMPI, right? If so, could you please send me the output of ompi_info -a ? Wrt your MKL problem i note that you compile with 64-bit integers, i.e. the -i8 flag for ifort. In this case you have to use the 64-bit version of the MKL libs as well! The following line should do it: LIBS = -L/site/VERSIONS/intel-11.1/mkl/lib/em64t -Wl,--rpath=/site/VERSIONS/intel-11.1/mkl/lib/em64t -lmkl_lapack -lmkl_intel_ilp64 -lmkl_solver_ilp64 -lmkl_intel_thread -lmkl_core -lguide -lpthread Your MPI problem could also be related to a 64-bit/32-bit issue. Note that OpenMPI has to be configured with 64-bit integers if you want to use it with a 64-bit Dalton. You can check this in the ompi_info -a output by grepping for the line 'Fort integer size', i.e.: ompi_info -a | grep 'Fort integer size' should yield Fort integer size: 8 with best regards, stefan openmpi 64λ°²×° Òâ˼¾ÍÊDz»ÄÜÓÃ32ΪµÄopenmpiÈ¥±àÒë64λµÄDalton ÔËÐÐÕâ¸öÃüÁî ompi_info -a | grep 'Fort integer size' µÃµ½ Fort integer size: 4 ˵Ã÷ÎÒµÄopenmpiÊÇ32λµÄ ÓÚÊÇÒªÖØÐ±àÒëopenmpi »Øµ½openmpi °²×°ÄÄÒ»²½ ÔÚÅäÖõĵط½Ð´ÉÏ ./configure --prefix=/home/qin/local/openmpi-1.4.4 CXX=g++ CC=gcc F77=gfortran FC=gfortran FFLAGS="-m64 -fdefault-integer-8" FCFLAGS="-m64 -fdefault-integer-8" CFLAGS=-m64 CXXFLAGS=-m64 ɾµô֮ǰµÄ°²×° rm -r ~/local/openmpi-1.4.4/* make make install ompi_info -a | grep 'Fort integer size' µÃµ½ Fort integer size: 8 ˵Ã÷64λopenmpi±àÒë³É¹¦£¨Ôڴ˸Ðл´óÄ®¹ÂÀÇ£¬ÌìÍâÀ´¿ÍÈÈÐİïÖú£© Dalton TEST Ôڻص½Ç°ÃæDaltonµÄ°²×°£¬Õâ´Îmake³É¹¦ÁË¡£ ¿ªÊ¼²âÊÔ cd /home/qin/Dalton2011_release/DALTON/test ./TEST -keep -benchmark all > TEST_all.log 2>&1 & |
» ²ÂÄãϲ»¶
298·Ö 070300Çóµ÷¼Á
ÒѾÓÐ15È˻ظ´
ºþÄÏ´óѧÕÅÊÀ¹úÍŶÓÕÐ26ÄêµÚ¶þÅú²©Ê¿¡ªÀë×ÓÒºÌå¡¢¸ß·Ö×ÓÓëÄý½º²ÄÁÏ
ÒѾÓÐ0È˻ظ´
ÎïÀí»¯Ñ§ÂÛÎÄÈóÉ«/·ÒëÔõôÊÕ·Ñ?
ÒѾÓÐ112È˻ظ´
Öйúµç»ú¹¤³Ìѧ±¨µÄͶ¸åϵͳ
ÒѾÓÐ0È˻ظ´
ºþÄÏũҵ´óѧÄÜÔ´²ÄÁÏ´´ÐÂÍŶÓÕÐÊÕ2025»¯Ñ§×¨ÒµÑо¿Éú£¨Ñ§Ë¶£©µ÷¼Á
ÒѾÓÐ0È˻ظ´
2026ÄêÎ÷»ª´óѧ²ÄÁÏѧԺ-²ÄÁϽü¾»³ÉÐÎÓë±íÃæ¼¼ÊõÑо¿ÍŶÓ-ÕÐÊÕµ÷¼ÁÑо¿Éú
ÒѾÓÐ9È˻ظ´
µ÷¼ÁÐÅÏ¢
ÒѾÓÐ0È˻ظ´
ºÓ±±Å©´óÉúÎïÓëҽҩרҵÕÐÊÕµ÷¼Á£¬Ãû¶î³ä×ã
ÒѾÓÐ0È˻ظ´
Æë³¹¤Òµ´óѧ ¹ú¼ÒÖØµãʵÑéÊÒ-ÐÂÄÜÔ´¡¢ï®Àë×Óµç³Ø¡¢²ÄÁÏ¡¢»¯Ñ§·½Ïò
ÒѾÓÐ0È˻ظ´
½ÜÇà/³¤½ÍŶÓÕÐÊÕµ÷¼Á
ÒѾÓÐ0È˻ظ´
ÖÐÄÏÁÖÒµ¿Æ¼¼´óѧÂÞÓ·æ½ÌÊÚÍŶÓ2026ÄêÕÐÊÕ²ÄÁÏÀàµ÷¼ÁÑо¿Éú
ÒѾÓÐ0È˻ظ´
» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍÆ¼ö£¬¶ÔÄúͬÑùÓаïÖú:
ÇóÖúVASPÓõÄIntel ifort icc ±àÒëÆ÷
ÒѾÓÐ9È˻ظ´
macÉϰ²×°Ê¹ÓÃfortran
ÒѾÓÐ5È˻ظ´
pwscf²¢ÐмÆËã´íÎó
ÒѾÓÐ7È˻ظ´
vasp5.3.3²¢ÐбàÒë³ö´í
ÒѾÓÐ10È˻ظ´
moduleÎÞ·¨±àÒ룿
ÒѾÓÐ4È˻ظ´
ÄãÓõıàÒëÆ÷ÊÇʲô£¬ÇóÍÆ¼ö
ÒѾÓÐ28È˻ظ´
ÇëÎʵ¥»ú×°VASP£¬×°²¢Ðкû¹ÊÇ´®Ðкã¿
ÒѾÓÐ15È˻ظ´
lev00±àÒë³ö´í
ÒѾÓÐ4È˻ظ´
Dalton2011±àÒëÎÊÌâÇë½Ìר¼Ò
ÒѾÓÐ10È˻ظ´
Error in opening the compiled module file. Check INCLUDE paths.
ÒѾÓÐ7È˻ظ´
intel visual fortranÖÐMKLÈçºÎʹÓã¬ÊÇÓÃuse module»¹ÊÇinclude£¿
ÒѾÓÐ4È˻ظ´
ÇóÖúelk²¢ÐбàÒ룡
ÒѾÓÐ5È˻ظ´
ÓÃICC»¹ÊÇGCC±àÒ룿
ÒѾÓÐ3È˻ظ´
СÓïÖÖ£¨ÈÕÓï)ÒªÇóÊÇN2£¬¾É2¼¶ÐÐÂð£¿
ÒѾÓÐ11È˻ظ´
ifort(10.1.012) + MKL(10.0.2.018) + OpenMPI(1.4.4)±àÒë²¢ÐÐvasp-5.2.2
ÒѾÓÐ85È˻ظ´
Dalton2011²¢ÐбàÒëÏê¼Ç
ÒѾÓÐ33È˻ظ´
¡¾½»Á÷¡¿Compile Dalton2011 program
ÒѾÓÐ3È˻ظ´
¡¾·ÖÏí¡¿MKL³ÌÐò±àÒëÓëÁ¬½Ó£ºLapackƪ
ÒѾÓÐ6È˻ظ´
¡¾ÇóÖú¡¿linuxÏÂlapack¿â±àÒë²âÊÔ´íÎó
ÒѾÓÐ3È˻ظ´
¡¾ÇóÖú¡¿dalton-2.0±àÒë¼°²âÊÔÎÊÌ⡾Íê½á¡¿
ÒѾÓÐ18È˻ظ´
2Â¥2011-11-10 14:35:18
3Â¥2012-02-25 19:14:44
5Â¥2012-03-10 16:21:35
6Â¥2012-06-27 20:35:32
7Â¥2014-10-11 09:07:10
¼òµ¥»Ø¸´
dumbgirl4Â¥
2012-03-10 16:20
»Ø¸´
Ò»°ã















»Ø¸´´ËÂ¥