NWChem 6.1.1 RedHat 5.4, Intel 11.1, OpenMPI 1.3.4

NWChem 6.1.1 RedHat 5.4, Intel 11.1, OpenMPI 1.3.4

Viewed 162 times, With a total of 4 Posts

   
Just Got Here
Threads 1
Posts 3
Hello,

Can't see a thread with the same errors as mine, so hope someone can help.

Using following environment:

  1. !/bin/bash
    1. set environment for NWChem build
export NWCHEM_TOP=/home/cczcb/NWChem/nwchem-6.1.1-src
export NWCHEM_MODULES=all
export NWCHEM_TARGET=LINUX64
export MPI_INCLUDE=/opt/openmpi-1.3.4-1/intel/include
export LIBMPI="-lmpi_f90 -lmpi_f77 -lmpi -lpthread"
export USE_MPIF=y
export MPI_LIB=/opt/openmpi-1.3.4-1/intel/lib64
export USE_MPI=y

Assuming openmpi will look after Infiniband, so don't set IB related variables.

Build with:

make nwchem_config

make FC=ifort> make.log 2>&1 &



make.log has text below at end. For some reason, some variables aren't defined properly. Can anyone suggest why this is, and how to fix ? Would like to use MKL libraries for final build, but thought I'd get it going with inbuilt libraries first.

Really grateful for any assistance.


ifort -c -i8 -align -w -g -vec-report1 -O3 -prefetch -unroll -tpp7 -ip -xP -no-prec-div -I. -I/opt/openmpi-1.3.4-1/intel/include -I/home/cczcb/NWChem/nwchem-6.1.1-src/src/include -I/home/cczcb/NWChem/nwchem-6.1.1-src/src/tools/install/include -DEXT_INT -DLINUX -DLINUX64 -DIFCV8 -DIFCLINUX -DPARALLEL_DIAG -DMPI DMatrix.F
ifort -c -i8 -align -w -g -vec-report1 -O3 -prefetch -unroll -tpp7 -ip -xP -no-prec-div -I. -I/opt/openmpi-1.3.4-1/intel/include -I/home/cczcb/NWChem/nwchem-6.1.1-src/src/include -I/home/cczcb/NWChem/nwchem-6.1.1-src/src/tools/install/include -DEXT_INT -DLINUX -DLINUX64 -DIFCV8 -DIFCLINUX -DPARALLEL_DIAG -DMPI DMatrix-mpi.F
DMatrix-mpi.F(1363): error #6404: This name does not have a type, and must have an explicit type. [STUPID_MSGLEN]
     stupid_msglen = 7*7


^
DMatrix-mpi.F(1365): error #6404: This name does not have a type, and must have an explicit type. [STUPID_DOUBLE]
    >                      stupid_double,stupid_sum,


^
DMatrix-mpi.F(1365): error #6404: This name does not have a type, and must have an explicit type. [STUPID_SUM]
    >                      stupid_double,stupid_sum,


^
DMatrix-mpi.F(1366): error #6404: This name does not have a type, and must have an explicit type. [STUPID_WORLD]
    >                      stupid_world,stupid_ierr)


^
DMatrix-mpi.F(1366): error #6404: This name does not have a type, and must have an explicit type. [STUPID_IERR]
    >                      stupid_world,stupid_ierr)


^
DMatrix-mpi.F(2277): error #6404: This name does not have a type, and must have an explicit type. [STUPID_MSGLEN]
              stupid_msglen = kk-1


^
DMatrix-mpi.F(2278): error #6404: This name does not have a type, and must have an explicit type. [STUPID_TASKID]
              stupid_taskid = icur


^
DMatrix-mpi.F(2279): error #6404: This name does not have a type, and must have an explicit type. [STUPID_DOUBLE]
              call MPI_Bcast(work1,stupid_msglen,stupid_double,


^
DMatrix-mpi.F(2280): error #6404: This name does not have a type, and must have an explicit type. [STUPID_COMM_I]
    >               stupid_taskid,stupid_comm_i,stupid_ierr)


^
DMatrix-mpi.F(2280): error #6404: This name does not have a type, and must have an explicit type. [STUPID_IERR]
    >               stupid_taskid,stupid_comm_i,stupid_ierr)


^
DMatrix-mpi.F(2333): error #6404: This name does not have a type, and must have an explicit type. [STUPID_SUM]
    >                      stupid_double,stupid_sum,


^
DMatrix-mpi.F(2334): error #6404: This name does not have a type, and must have an explicit type. [STUPID_WORLD]
    >                      stupid_world,stupid_ierr)


^
DMatrix-mpi.F(82): (col. 7) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(86): (col. 7) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(108): (col. 10) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(270): (col. 7) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(286): (col. 11) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(330): (col. 10) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(617): (col. 10) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(750): (col. 10) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(902): (col. 10) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(1111): (col. 19) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(1117): (col. 19) remark: LOOP WAS VECTORIZED.
compilation aborted for DMatrix-mpi.F (code 1)
make[4]: *** [/home/cczcb/NWChem/nwchem-6.1.1-src/lib/LINUX64/libnwpwlib.a(DMatrix-mpi.o)] Error 1
make[3]: *** [optimized] Error 2
make[2]: *** [subdirs] Error 1
make[1]: *** [subdirs] Error 1
make: *** [libraries] Error 1
 

  • Bert Forum:Admin, Forum:Mod, NWChemDeveloper, bureaucrat, sysop
Forum Vet
Threads 3
Posts 391
Add 
  

   export USE_MPIF4=y


This should eliminate your issues. 


Bert


Quote:Colinbann  Jul 16th 1:18 pm
Hello,

Can't see a thread with the same errors as mine, so hope someone can help.

Using following environment:

  1. !/bin/bash
    1. set environment for NWChem build
export NWCHEM_TOP=/home/cczcb/NWChem/nwchem-6.1.1-src
export NWCHEM_MODULES=all
export NWCHEM_TARGET=LINUX64
export MPI_INCLUDE=/opt/openmpi-1.3.4-1/intel/include
export LIBMPI="-lmpi_f90 -lmpi_f77 -lmpi -lpthread"
export USE_MPIF=y
export MPI_LIB=/opt/openmpi-1.3.4-1/intel/lib64
export USE_MPI=y

Assuming openmpi will look after Infiniband, so don't set IB related variables.

Build with:

make nwchem_config

make FC=ifort> make.log 2>&1 &



make.log has text below at end. For some reason, some variables aren't defined properly. Can anyone suggest why this is, and how to fix ? Would like to use MKL libraries for final build, but thought I'd get it going with inbuilt libraries first.

Really grateful for any assistance.


ifort -c -i8 -align -w -g -vec-report1 -O3 -prefetch -unroll -tpp7 -ip -xP -no-prec-div -I. -I/opt/openmpi-1.3.4-1/intel/include -I/home/cczcb/NWChem/nwchem-6.1.1-src/src/include -I/home/cczcb/NWChem/nwchem-6.1.1-src/src/tools/install/include -DEXT_INT -DLINUX -DLINUX64 -DIFCV8 -DIFCLINUX -DPARALLEL_DIAG -DMPI DMatrix.F
ifort -c -i8 -align -w -g -vec-report1 -O3 -prefetch -unroll -tpp7 -ip -xP -no-prec-div -I. -I/opt/openmpi-1.3.4-1/intel/include -I/home/cczcb/NWChem/nwchem-6.1.1-src/src/include -I/home/cczcb/NWChem/nwchem-6.1.1-src/src/tools/install/include -DEXT_INT -DLINUX -DLINUX64 -DIFCV8 -DIFCLINUX -DPARALLEL_DIAG -DMPI DMatrix-mpi.F
DMatrix-mpi.F(1363): error #6404: This name does not have a type, and must have an explicit type. [STUPID_MSGLEN]
     stupid_msglen = 7*7


^
DMatrix-mpi.F(1365): error #6404: This name does not have a type, and must have an explicit type. [STUPID_DOUBLE]
    >                      stupid_double,stupid_sum,


^
DMatrix-mpi.F(1365): error #6404: This name does not have a type, and must have an explicit type. [STUPID_SUM]
    >                      stupid_double,stupid_sum,


^
DMatrix-mpi.F(1366): error #6404: This name does not have a type, and must have an explicit type. [STUPID_WORLD]
    >                      stupid_world,stupid_ierr)


^
DMatrix-mpi.F(1366): error #6404: This name does not have a type, and must have an explicit type. [STUPID_IERR]
    >                      stupid_world,stupid_ierr)


^
DMatrix-mpi.F(2277): error #6404: This name does not have a type, and must have an explicit type. [STUPID_MSGLEN]
              stupid_msglen = kk-1


^
DMatrix-mpi.F(2278): error #6404: This name does not have a type, and must have an explicit type. [STUPID_TASKID]
              stupid_taskid = icur


^
DMatrix-mpi.F(2279): error #6404: This name does not have a type, and must have an explicit type. [STUPID_DOUBLE]
              call MPI_Bcast(work1,stupid_msglen,stupid_double,


^
DMatrix-mpi.F(2280): error #6404: This name does not have a type, and must have an explicit type. [STUPID_COMM_I]
    >               stupid_taskid,stupid_comm_i,stupid_ierr)


^
DMatrix-mpi.F(2280): error #6404: This name does not have a type, and must have an explicit type. [STUPID_IERR]
    >               stupid_taskid,stupid_comm_i,stupid_ierr)


^
DMatrix-mpi.F(2333): error #6404: This name does not have a type, and must have an explicit type. [STUPID_SUM]
    >                      stupid_double,stupid_sum,


^
DMatrix-mpi.F(2334): error #6404: This name does not have a type, and must have an explicit type. [STUPID_WORLD]
    >                      stupid_world,stupid_ierr)


^
DMatrix-mpi.F(82): (col. 7) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(86): (col. 7) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(108): (col. 10) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(270): (col. 7) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(286): (col. 11) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(330): (col. 10) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(617): (col. 10) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(750): (col. 10) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(902): (col. 10) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(1111): (col. 19) remark: LOOP WAS VECTORIZED.
DMatrix-mpi.F(1117): (col. 19) remark: LOOP WAS VECTORIZED.
compilation aborted for DMatrix-mpi.F (code 1)
make[4]: *** [/home/cczcb/NWChem/nwchem-6.1.1-src/lib/LINUX64/libnwpwlib.a(DMatrix-mpi.o)] Error 1
make[3]: *** [optimized] Error 2
make[2]: *** [subdirs] Error 1
make[1]: *** [subdirs] Error 1
make: *** [libraries] Error 1
 

Just Got Here
Threads 1
Posts 3
Thanks for suggestion Bert.

Adding that environment variable has changed things, but still bit getting build to complete. Now get below in last lines of make.log:

/home/cczcb/NWChem/nwchem-6.1.1-src/bin/LINUX64/depend.x -I/home/cczcb/NWChem/nwchem-6.1.1-src/src/tools/install/include > dependencies
make[2]: warning: -jN forced in submake: disabling jobserver mode.
touch include_stamp
Making include_stamp in /home/cczcb/NWChem/nwchem-6.1.1-src/src/dangchang
make[2]: warning: -jN forced in submake: disabling jobserver mode.
/home/cczcb/NWChem/nwchem-6.1.1-src/bin/LINUX64/depend.x -I/home/cczcb/NWChem/nwchem-6.1.1-src/src/tools/install/include > dependencies
make[2]: warning: -jN forced in submake: disabling jobserver mode.
touch include_stamp
Making include_stamp in /home/cczcb/NWChem/nwchem-6.1.1-src/src/ccca
make[2]: warning: -jN forced in submake: disabling jobserver mode.
/home/cczcb/NWChem/nwchem-6.1.1-src/bin/LINUX64/depend.x -I../basis -I/home/cczcb/NWChem/nwchem-6.1.1-src/src/tools/install/include > dependencies
make[2]: warning: -jN forced in submake: disabling jobserver mode.
touch include_stamp
Making libraries in basis
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: *** No rule to make target `/home/cczcb/NWChem/nwchem-6.1.1-src/src/include/stdio.fh', needed by `/home/cczcb/NWChem/nwchem-6.1.1-src/lib/LINUX64/libnwcutil.a(basis.o)'. Stop.
make: *** [libraries] Error 1

Any ideas ?
thanks,
Colin
 

  • Bert Forum:Admin, Forum:Mod, NWChemDeveloper, bureaucrat, sysop
Forum Vet
Threads 3
Posts 391
Try copying src/util/*fh src/include/. and hit make again.

Bert


Quote:Colinbann  Jul 18th 10:05 am
Thanks for suggestion Bert.

Adding that environment variable has changed things, but still bit getting build to complete. Now get below in last lines of make.log:

/home/cczcb/NWChem/nwchem-6.1.1-src/bin/LINUX64/depend.x -I/home/cczcb/NWChem/nwchem-6.1.1-src/src/tools/install/include > dependencies
make[2]: warning: -jN forced in submake: disabling jobserver mode.
touch include_stamp
Making include_stamp in /home/cczcb/NWChem/nwchem-6.1.1-src/src/dangchang
make[2]: warning: -jN forced in submake: disabling jobserver mode.
/home/cczcb/NWChem/nwchem-6.1.1-src/bin/LINUX64/depend.x -I/home/cczcb/NWChem/nwchem-6.1.1-src/src/tools/install/include > dependencies
make[2]: warning: -jN forced in submake: disabling jobserver mode.
touch include_stamp
Making include_stamp in /home/cczcb/NWChem/nwchem-6.1.1-src/src/ccca
make[2]: warning: -jN forced in submake: disabling jobserver mode.
/home/cczcb/NWChem/nwchem-6.1.1-src/bin/LINUX64/depend.x -I../basis -I/home/cczcb/NWChem/nwchem-6.1.1-src/src/tools/install/include > dependencies
make[2]: warning: -jN forced in submake: disabling jobserver mode.
touch include_stamp
Making libraries in basis
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: *** No rule to make target `/home/cczcb/NWChem/nwchem-6.1.1-src/src/include/stdio.fh', needed by `/home/cczcb/NWChem/nwchem-6.1.1-src/lib/LINUX64/libnwcutil.a(basis.o)'. Stop.
make: *** [libraries] Error 1

Any ideas ?
thanks,
Colin
 

Just Got Here
Threads 1
Posts 3
Thanks again, now build works!  

Now to do some testing, and try build using optimised Blas (usually use MKL).

help much appreciated,

Colin
 


Forum >> NWChem's corner >> Compiling NWChem
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值