24小时热门版块排行榜    

查看: 1382  |  回复: 13
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

qdc19800214

木虫 (正式写手)

[求助] 求助pwscf安装问题

要学习pwscf,可是远程安装不上,求助。
我的版本是espresso-4.2.1
步骤如下:unset FC F77 F90 CC CXX
      ./configure
          make all

可是最后一步出错了:

mpif90 -openmp -fp-model precise -I/data3/home/diamond/apps/IMSL-ifort11/imsl_11/imsl/fnl700/rdhin111e64/include -fpp -D__INTEL -D__FFTW -D__MPI -D__PARA -I../include -I../iotk/src -I../Modules -I../EE -I. -c realus.f90
mpif90 -openmp -fp-model precise -I/data3/home/diamond/apps/IMSL-ifort11/imsl_11/imsl/fnl700/rdhin111e64/include -fpp -D__INTEL -D__FFTW -D__MPI -D__PARA -I../include -I../iotk/src -I../Modules -I../EE -I. -c newd.f90
newd.f90(113): error #6404: This name does not have a type, and must have an explicit type.   [MYTID]
!$omp parallel default(shared), private(na,qgm_na,is,dtmp,ig,mytid,ntids)
-------------------------------------------------------------^
newd.f90(113): error #7656: Subobjects are not allowed in this OpenMP clause; a named variable must be specified.   [MYTID]
!$omp parallel default(shared), private(na,qgm_na,is,dtmp,ig,mytid,ntids)
-------------------------------------------------------------^
newd.f90(113): error #6404: This name does not have a type, and must have an explicit type.   [NTIDS]
!$omp parallel default(shared), private(na,qgm_na,is,dtmp,ig,mytid,ntids)
-------------------------------------------------------------------^
newd.f90(113): error #7656: Subobjects are not allowed in this OpenMP clause; a named variable must be specified.   [NTIDS]
!$omp parallel default(shared), private(na,qgm_na,is,dtmp,ig,mytid,ntids)
-------------------------------------------------------------------^
compilation aborted for newd.f90 (code 1)
make[1]: *** [newd.o] Error 1
make[1]: Leaving directory `/lustre/data/diamond/qiuvasp/espresso-4.2.1/PW'
make: *** [pw] Error 2

求帮助解答。谢谢!
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

qdc19800214

木虫 (正式写手)

自己顶,求解答。。。
2楼2016-01-14 08:42:40
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

qdc19800214

木虫 (正式写手)

引用回帖:
3楼: Originally posted by Ireson at 2016-01-15 00:18:45
Ubuntu的版本可以用apt-get install 装,版本貌似是5.0.2;如果你只用pw和pp模块的话,可以make PW,makePP,make all真是各路问题。

请问用apt-get install 怎么装啊?刚接触,一点都不懂。。。求解释
4楼2016-01-15 09:30:57
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

qdc19800214

木虫 (正式写手)

引用回帖:
3楼: Originally posted by Ireson at 2016-01-15 00:18:45
Ubuntu的版本可以用apt-get install 装,版本貌似是5.0.2;如果你只用pw和pp模块的话,可以make PW,makePP,make all真是各路问题。

我用make pw了,还是出错:

mpif90 -openmp -fp-model precise -I/data3/home/diamond/apps/IMSL-ifort11/imsl_11/imsl/fnl700/rdhin111e64/include -fpp -D__INTEL -D__FFTW -D__MPI -D__PARA -D__SCALAPACK    -I../../iotk/src -I../../Modules -I../../FFTXlib -c efermit.f90
mpif90 -openmp -fp-model precise -I/data3/home/diamond/apps/IMSL-ifort11/imsl_11/imsl/fnl700/rdhin111e64/include -fpp -D__INTEL -D__FFTW -D__MPI -D__PARA -D__SCALAPACK    -I../../iotk/src -I../../Modules -I../../FFTXlib -c esm_cft.f90
esm_cft.f90(133): error #6404: This name does not have a type, and must have an explicit type.   [OMP_GET_MAX_THREADS]
  nth = OMP_GET_MAX_THREADS()
--------^
compilation aborted for esm_cft.f90 (code 1)
make[2]: *** [esm_cft.o] Error 1
make[2]: Leaving directory `/lustre/data/diamond/qiuvasp/espresso-5.3.0/PW/src'
make[1]: *** [pw] Error 1
make[1]: Leaving directory `/lustre/data/diamond/qiuvasp/espresso-5.3.0/PW'
make: *** [pw] Error 1
[diamond@login4 espresso-5.3.0]$
5楼2016-01-15 09:32:33
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

qdc19800214

木虫 (正式写手)

引用回帖:
7楼: Originally posted by Ireson at 2016-01-15 10:08:18
需要的blas,lapack和fft的库都装了吧?嫌麻烦的话去官网下最新的一些版本吧,4太老了。。。官网好像都没了。。。

谢谢!我又下载了最新的5。3.0
可还是有错误

esm_cft.f90(133): error #6404: This name does not have a type, and must have an explicit type.   [OMP_GET_MAX_THREADS]
  nth = OMP_GET_MAX_THREADS()
--------^
compilation aborted for esm_cft.f90 (code 1)
make[2]: *** [esm_cft.o] Error 1
make[2]: Leaving directory `/lustre/data/diamond/qiuvasp/espresso-5.3.0/PW/src'
make[1]: *** [pw] Error 1
make[1]: Leaving directory `/lustre/data/diamond/qiuvasp/espresso-5.3.0/PW'
make: *** [pw] Error 1
[diamond@login4 espresso-5.3.0]$
9楼2016-01-15 12:33:05
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

qdc19800214

木虫 (正式写手)

送红花一朵
引用回帖:
10楼: Originally posted by Ireson at 2016-01-15 16:26:50
你说说的安装步骤看看,包括前面的openmpi,和fftw的包的步骤(如果装了就说已装)。你是不是QE并行计算依赖的软件没装完?

openmpi,fftw 也是需要安装的软件吗?这就是QE并行计算依赖的软件吗?我以为只安装PWSCF就可以,就按前边说的那3个命令装的,别的都不懂哦。。。周围也没有人用。。。
12楼2016-01-15 18:19:28
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

qdc19800214

木虫 (正式写手)

送红花一朵
引用回帖:
11楼: Originally posted by liqizuiyang at 2016-01-15 16:28:25
http://ccc.keinsci.com/thread-1324-1-1.html

太感谢了!我得慢慢看看。
13楼2016-01-15 18:24:08
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 qdc19800214 的主题更新
信息提示
请填处理意见