24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 630  |  回复: 1

vallen

银虫 (正式写手)

[交流] Dalton的安装流程是怎样的 已有1人参与

我按手册上的 步骤安装后 测试 怎么出错呢
是不是需要设置什么东西?
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wuy069

铁杆木虫 (正式写手)


小木虫(金币+0.5):给个红包,谢谢回帖
我现在可以给你发个dalton管理员发的,但我不负责解答,我现在看到它就烦;
Response to: [dalton-users] Re: dalton compiling with openmpi-1.4.2 (quartarolo@unical.it)
Date: Sun, 03 Apr 2011 08:48:59 +0200
From: Jan Mach?ek <jmach@iic.cas.cz>
Content-Type: multipart/mixed;
boundary="------------000304070309030601060303"
Subject: [dalton-users] Re: dalton compiling with openmpi-1.4.2

Dne 30.3.2011 22:49, quartarolo@unical.it p?e:
> Dear Dalton users,
> first of all, I'm grateful for the answers (of Hans,Jeff,Jan and Juan)
> to my problem (better late than never).
> I also added to FFlags in Makefile.config the option
> -fsecond-underscore (see
> the discussion at
> https://listearkiv.uio.no/listea ... o.no&msgNo=1058
> and related posts),
>
> But after recompiling, I still get the following error:
> sirius/libsirius.a(sirtra.o): In function `nxth2d_':
> sirtra.F.text+0x6c2): undefined reference to `n_nxth2d_'
> ...

  I am sorry for replying again with a delay. I have chronic problems organising my time; due to them I use Dalton just sporadically and have not compiled its new installation for quite a long time.
  I nevertheless have managed to compile Dalton on a relatively recent hardware using relatively recent open source tools. I attach the two versions of Makefile.config, one for the serial version, the other for the paralel one. Compiling first with the paralel Makefile.config, then with the serial one I have got both binaries along each other (the dalton.x binary produced with the paralel settings depends on mpi libraries, but the serial compilation does not overwrite the dalpar.x
binary).
  Due to the age of Dalton 2.0, I had to edit the generated
Makefile.conf by hand. The basic principle is: Say godbye to F77. Since the time of the Dalton 2.0 release, gcc has abandoned g77 in favor of gfortran, a more modern F90 compiler; among other things, underscoring conventions have changed. Usually, removing options referencing g77, f77 or f2c, as well as those referencing underscoring directly, adjusts the code to gfortran well.
  In my Makefile.config files, there are some settings specific to my system, more or less arbitrary or, perhaps, even some wrong choices that did not manifest by a fatal crash. Definitely the -march=native option in compiler flags is architecture dependent, as well as entirely optional; native should work for all architectures, but only with recent
gcc, I am not sure since what version.

  Good luck compiling.
            Jan Mach?ek

ARCH        = linux
#
#
CPPFLAGS      = -DVAR_GFORTRAN -DSYS_LINUX -DVAR_MFDS -D'INSTALL_WRKMEM=128000000' -D'INSTALL_MMWORK=128000000' -D_FILE_OFFSET_BITS=64 -DVAR_MPI -DGFORTRAN=432 -DIMPLICIT_NONE -DINSTALL_BASDIR='"/home/jmach/src/dalton-2.0-cam/basis/"'
F77           = mpif90
CC            = mpicc
LOADER        = mpif90
RM            = rm -f
FFLAGS        = -march=native -O3 -ffast-math -funroll-loops -ftree-vectorize -fno-range-check
SAFEFFLAGS    = -march=native -O3 -ffast-math -funroll-loops -ftree-vectorize -fno-range-check
CFLAGS        = -march=native -O3 -ffast-math -funroll-loops -ftree-vectorize -std=c99 -DRESTRICT=restrict -DFUNDERSCORE=1
INCLUDES      = -I../include -I/usr/include
LIBS          = -L/usr/lib64 -llapack -lblas -latlas -lpthread
INSTALLDIR    = /home/jmach/src/dalton-2.0-cam/bin
PDPACK_EXTRAS = linpack.o eispack.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 : linuxparallel.x
SAFE2_FFLAGS = $(FFLAGS)
#
# Parallel initialization
#
MPI_INCLUDE_DIR = -I/usr/include
MPI_LIB_PATH    = -L/usr/lib
MPI_LIB         = -lmpi
#
#
# 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 .c .o .i .g .s

.F.o:
        $(F77) $(INCLUDES) $(CPPFLAGS) $(FFLAGS) -c $*.F

.F.i:
        $(F77) $(INCLUDES) $(CPPFLAGS) -E $*.F > $*.i

.F.g:
        $(F77) $(INCLUDES) $(CPPFLAGS) $(FFLAGS) -g -c $*.F

.F.s:
        $(F77) $(INCLUDES) $(CPPFLAGS) $(FFLAGS) -S -g -c $*.F

.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

ARCH        = linux
#
#
CPPFLAGS      = -DVAR_GFORTRAN -DSYS_LINUX -DVAR_MFDS -D'INSTALL_WRKMEM=128000000' -D'INSTALL_MMWORK=128000000' -D_FILE_OFFSET_BITS=64 -DGFORTRAN=432 -DIMPLICIT_NONE -DINSTALL_BASDIR='"/home/jmach/src/dalton-2.0-cam/basis/"'
F77           = gfortran
CC            = gcc
LOADER        = gfortran
RM            = rm -f
FFLAGS        = -march=native -O3 -ffast-math -funroll-loops -ftree-vectorize -fno-range-check
SAFEFFLAGS    = -march=native -O3 -ffast-math -funroll-loops -ftree-vectorize -fno-range-check
CFLAGS        = -march=native -O3 -ffast-math -funroll-loops -ftree-vectorize -std=c99 -DRESTRICT=restrict -DFUNDERSCORE=1
INCLUDES      = -I../include
LIBS          = -L/usr/lib64 -llapack -lblas -latlas -lpthread
INSTALLDIR    = /home/jmach/src/dalton-2.0-cam/bin
PDPACK_EXTRAS = linpack.o eispack.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 : linux.x
SAFE2_FFLAGS = $(FFLAGS)
#
# 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 .c .o .i .g .s

.F.o:
        $(F77) $(INCLUDES) $(CPPFLAGS) $(FFLAGS) -c $*.F

.F.i:
        $(F77) $(INCLUDES) $(CPPFLAGS) -E $*.F > $*.i

.F.g:
        $(F77) $(INCLUDES) $(CPPFLAGS) $(FFLAGS) -g -c $*.F

.F.s:
        $(F77) $(INCLUDES) $(CPPFLAGS) $(FFLAGS) -S -g -c $*.F

.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
2楼2011-07-04 18:09:40
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 vallen 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 334求调剂 +8 Trying] 2026-03-31 8/400 2026-04-03 14:18 by 百灵童888
[考研] 081200-11408-276学硕求调剂 +4 崔wj 2026-04-03 4/200 2026-04-03 14:07 by 欣喜777
[考研] 材料与化工306分找调剂 +10 沧海轻舟e 2026-04-03 11/550 2026-04-03 11:07 by 啵啵啵0119
[考研] 311求调剂一志愿合肥工业大学 +15 秋二十二 2026-03-30 15/750 2026-04-03 10:19 by linyelide
[考研] 一志愿大工学硕,求调剂 +4 yub0811 2026-04-02 4/200 2026-04-02 21:36 by 百灵童888
[考研] 一志愿北京科技材料科学与工程288分,求调剂 +14 是辰啊 2026-04-02 14/700 2026-04-02 21:10 by dongzh2009
[考研] 一志愿北京理工大学本科211材料工程294求调剂 +8 mikasa的围巾 2026-03-28 9/450 2026-04-02 12:09 by ms629
[考研] 385分 生物学(071000)求调剂 +6 qf626 2026-04-01 6/300 2026-04-02 10:39 by guoweigw
[考研] 一志愿北交大材料工程总分358 +8 cs0106 2026-04-01 9/450 2026-04-02 10:36 by 不吃魚的貓
[考研] 354求调剂 +4 lxb598 2026-03-31 5/250 2026-04-02 09:55 by Jaylen.
[考研] 085410 一志愿211 22408分数359求调剂 +3 123456789qw 2026-03-31 4/200 2026-04-02 00:06 by 义文wang
[考研] 285求调剂 +11 AZMK 2026-04-01 11/550 2026-04-01 22:40 by peike
[硕博家园] 考研调剂 +5 骆驼男人 2026-04-01 5/250 2026-04-01 14:28 by syjjj0321
[考研] 材料调剂 +11 一样YWY 2026-03-31 11/550 2026-04-01 11:35 by wangjy2002
[考研] 考研生物与医药调剂 +7 铁憨憨123425 2026-03-31 7/350 2026-04-01 08:45 by JourneyLucky
[考研] 一志愿西电085401数一英一299求调剂 六级521 +4 爱吃大鸭梨 2026-03-31 4/200 2026-03-31 11:51 by 搏击518
[考研] 南京大学化学调剂 +11 景随风 2026-03-29 16/800 2026-03-31 10:14 by herarysara
[考研] 一志愿大连理工大学材料求调剂 +6 Gymno 2026-03-30 6/300 2026-03-31 07:26 by 无际的草原
[考研] 296求调剂 +10 彼岸t 2026-03-29 10/500 2026-03-30 10:50 by 探123
[考研] 求调剂 +7 争取九点睡 2026-03-28 8/400 2026-03-28 21:07 by 争取九点睡
信息提示
请填处理意见