±±¾©Ê¯ÓÍ»¯¹¤Ñ§Ôº2026ÄêÑо¿ÉúÕÐÉú½ÓÊÕµ÷¼Á¹«¸æ
²é¿´: 2121  |  »Ø¸´: 6
¡¾½±Àø¡¿ ±¾Ìû±»ÆÀ¼Û5´Î£¬×÷ÕßggdhÔö¼Ó½ð±Ò 3.6 ¸ö

[×ÊÔ´] 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 &
»Ø¸´´ËÂ¥

» ²ÂÄãϲ»¶

» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍÆ¼ö£¬¶ÔÄúͬÑùÓаïÖú:

ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

lonewolf659

Í­³æ (СÓÐÃûÆø)


¡ï¡ï¡ï¡ï¡ï ÎåÐǼ¶,ÓÅÐãÍÆ¼ö

ÐǪ̈ºÃÓÐÔðÈÎÐİ¡£¬¸Ðл·ÖÏí¾­Ñé¡£
2Â¥2011-11-10 14:35:18
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

xuhu_11

½ð³æ (Ö°Òµ×÷¼Ò)


¡ï¡ï¡ï¡ï¡ï ÎåÐǼ¶,ÓÅÐãÍÆ¼ö

ûÌìÀí£¬°æÖ÷Ò²²»¸øµã´ò·¢£¡
3Â¥2012-02-25 19:14:44
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

dumbgirl

½ð³æ (СÓÐÃûÆø)


µã´íÐÇÁË¡£¶Ô²»ÆðÁËÂ¥Ö÷
5Â¥2012-03-10 16:21:35
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

ÃÔãµÄС·ÉÏÀ

½ð³æ (ÕýʽдÊÖ)


¡ï¡ï¡ï¡ï¡ï ÎåÐǼ¶,ÓÅÐãÍÆ¼ö

??
6Â¥2012-06-27 20:35:32
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

С·¶·¶1989

ľ³æ (ÖøÃûдÊÖ)


¡ï¡ï¡ï¡ï¡ï ÎåÐǼ¶,ÓÅÐãÍÆ¼ö

ѧϰ£¬¹Ø×¢Â¥Ö÷¡£Â¥Ö÷Ò²ÓÃdalton
7Â¥2014-10-11 09:07:10
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
¼òµ¥»Ø¸´
dumbgirl4Â¥
2012-03-10 16:20   »Ø¸´  
Ò»°ã  
Ïà¹Ø°æ¿éÌø×ª ÎÒÒª¶©ÔÄÂ¥Ö÷ ggdh µÄÖ÷Ìâ¸üÐÂ
¡î ÎÞÐǼ¶ ¡ï Ò»ÐǼ¶ ¡ï¡ï¡ï ÈýÐǼ¶ ¡ï¡ï¡ï¡ï¡ï ÎåÐǼ¶
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] 0703µ÷¼Á£¬Ò»Ö¾Ô¸Ìì½ò´óѧ319·Ö +8 haaaabcd 2026-04-05 8/400 2026-04-06 06:16 by houyaoxu
[¿¼ÑÐ] 377Çóµ÷¼Á +6 by.ovo 2026-04-05 6/300 2026-04-05 22:18 by dongzh2009
[¿¼ÑÐ] 298Çóµ÷¼Á +3 manman511 2026-04-05 3/150 2026-04-05 18:09 by kk112233
[¿¼ÑÐ] 313Çóµ÷¼Á +5 º£ÈÕº£ÈÕ 2026-04-04 5/250 2026-04-05 15:52 by jndximd
[¿¼ÑÐ] 295Çóµ÷¼Á +4 AÄãºÃÑо¿Éú 2026-04-04 5/250 2026-04-04 22:46 by yu221
[¿¼ÑÐ] 316Çóµ÷¼Á +9 Ä«³½_Orion926 2026-04-04 9/450 2026-04-04 21:35 by lbsjt
[¿¼ÑÐ] Ò»Ö¾Ô¸ÉϺ£´óѧÉúÎïѧ346 +3 ÉϺ£´óѧ346µ÷¼Á 2026-04-03 3/150 2026-04-04 20:20 by dongzh2009
[¿¼ÑÐ] 22408Çóµ÷¼Á 354·Ö ¿É¿çרҵ +3 hannnnnnn 2026-04-04 3/150 2026-04-04 14:35 by ÍÁľ˶ʿÕÐÉú
[¿¼ÑÐ] ±¾¿Æ211£¬×¨Òµ085404£¬293·ÖÇëÇóµ÷¼Á +5 Á«²Ë¾ÍÊÇź°É 2026-04-04 5/250 2026-04-04 14:08 by ÕâÊÇÒ»¸öÎÞÁĵÄê
[¿¼ÑÐ] 309Çóµ÷¼Á +6 ÁõÁõÁõ1231 2026-04-02 7/350 2026-04-04 13:41 by liucky
[¿¼ÑÐ] ²ÄÁÏ295 +13 СӢ11 2026-04-03 14/700 2026-04-04 09:02 by À´¿´Á÷ÐÇÓê10
[¿¼ÑÐ] Çóµ÷¼Á£¬Ò»Ö¾Ô¸ÄϾ©º½¿Õº½Ìì´óѧ £¬080500²ÄÁÏ¿ÆÑ§Ó빤³Ìѧ˶ +10 @taotao 2026-04-03 10/500 2026-04-04 09:01 by T¿É¿ÉÎ÷ÀïT
[¿¼ÑÐ] 283·Ö²ÄÁÏÓ뻯¹¤Çóµ÷¼Á +29 ÂÞKAKA 2026-04-02 29/1450 2026-04-03 23:56 by userper
[¿¼ÑÐ] 266Çóµ÷¼Á +18 ÑôÑôÍÛÈû 2026-04-01 18/900 2026-04-03 18:38 by zllcz
[¿¼ÑÐ] 303Çóµ÷¼Á +9 DLkz1314. 2026-03-30 9/450 2026-04-03 18:34 by lsÁõ˧
[¿¼ÑÐ] 293Çóµ÷¼Á +5 ĩδmm 2026-04-02 6/300 2026-04-03 15:20 by Íõ±£½Ü33
[¿¼ÑÐ] 334Çóµ÷¼Á +9 Trying] 2026-03-31 9/450 2026-04-03 15:18 by ×ÁçíØ¼
[¿¼ÑÐ] 285Çóµ÷¼Á +6 FZAC123 2026-03-30 6/300 2026-04-03 12:22 by xingguangj
[¿¼ÑÐ] 282Çóµ÷¼Á +5 ºôÎü¶¼ÊǼõ·Ê 2026-03-31 5/250 2026-04-03 12:03 by 1753564080
[¿¼ÑÐ] 321Çóµ÷¼Á Ò»Ö¾Ô¸ Õã½­¹¤Òµ´óѧÉúÎïÒ½Ò© +5 ºÙºÙHC 2026-04-01 6/300 2026-04-02 15:23 by sophie2180
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û