- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You might have some success by modifying your make file to use "echo" to construct the
compiled = "xxx"
statement into a Fortran include file. As an example into "when.fi" and then use the Fortran include statement to include the file in the appropriate line of your program.
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tim, The build is using Intel MPI, just redirecting the mpif90 wrapper to ifort. Some further environment info: -bash-4.2$ env ... MKLROOT=/curc/sw/intel/17.4/mkl AR=xiar INTEL_LICENSE_FILE=/curc/sw/intel/17.4/licenses/USE_SERVER.lic CURC_INTEL_BIN=/curc/sw/intel/17.4/bin I_MPI_FABRICS=shm:tmi I_MPI_EXTRA_FILESYSTEM=1 HISTSIZE=1000 CURC_INTEL_INC=/curc/sw/intel/17.4/include MKL_MIC_ARCH=mic TMI_CONFIG=/curc/sw/intel/17.4/impi/2017.3.196/etc64/tmi.conf CURC_INTEL_ROOT=/curc/sw/intel/17.4 HAS_BLAS=yes USE_MPIF=y MIC_LD_LIBRARY_PATH=/curc/sw/intel/17.4/mkl/lib/mic:/curc/sw/intel/17.4/compilers_and_libraries_2017.4.196/linux/mpirt/lib/ia32_lin:/curc/sw/intel/17.4/compilers_and_libraries_2017.4.196/linux/compiler/lib/mic NWCHEM_TOP=/projects/chch5350/Packages/nwchem-6.6 LD_LIBRARY_PATH=/curc/sw/intel/17.4/compiler/lib/intel64:/curc/sw/intel/17.4/mkl/lib/intel64:/curc/sw/intel/17.4/impi/2017.3.196/lib64:/curc/sw/intel/17.4/compilers_and_libraries_2017.4.196/linux/compiler/lib/intel64:/curc/sw/gcc/5.4.0/lib64:/projects/chch5350/lib:: MKL_TARGET_ARCH=intel64 MIC_LIBRARY_PATH=/curc/sw/intel/17.4/compilers_and_libraries_2017.4.196/linux/mpirt/lib/ia32_lin:/curc/sw/intel/17.4/compilers_and_libraries_2017.4.196/linux/compiler/lib/mic USE_MPI=y CXXFLAGS=-xCORE-AVX2 CURC_MKL_LIB=/curc/sw/intel/17.4/mkl/lib/intel64 CURC_IMPI_LIB=/curc/sw/intel/17.4/impi/2017.3.196/lib64 CURC_FAMILY_MPI=impi PATH=/curc/sw/intel/17.4/impi/2017.3.196/bin64:/curc/sw/intel/17.4/compilers_and_libraries_2017.4.196/linux/bin/intel64:/curc/sw/gcc/5.4.0/bin:/projects/chch5350/bin:/usr/lpp/mmfs/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/dell/srvadmin/bin CURC_MKL_BIN=/curc/sw/intel/17.4/mkl/bin I_MPI_EXTRA_FILESYSTEM_LIST=gpfs NWCHEM_MODULES=qm LD=xild CURC_INTEL_LIB=/curc/sw/intel/17.4/lib ARMCI_NETWORK=MPI-PR CURC_MKL_INC=/curc/sw/intel/17.4/mkl/include PWD=/home/chch5350/Projects/Packages/nwchem-6.6/src LOADEDMODULES=intel/17.4:impi/17.3:mkl/17.3 I_MPI_F90=ifort I_MPI_CC=icc USE_OPENMP=T MKL_LP64_ILP64=lp64 CXX=mpicxx I_MPI_HYDRA_PMI_CONNECT=alltoall I_MPI_CXX=icpc CFLAGS=-xCORE-AVX2 FC=mpif90 I_MPI_FC=ifort CURC_IMPI_ROOT=/curc/sw/intel/17.4/impi/2017.3.196 CURC_MKL_ROOT=/curc/sw/intel/17.4/mkl LARGE_FILES=TRUE CURC_FAMILY_COMPILER=intel BLASOPT=-mkl LMOD_FAMILY_COMPILER=intel LMOD_FULL_SETTARG_SUPPORT=no CC=mpicc ARMCI_DEFAULT_SHMMAX=4196 USE_MPIF4=y NWCHEM_TARGET=LINUX64 LMOD_FAMILY_MPI=impi I_MPI_ROOT=/curc/sw/intel/17.4/impi/2017.3.196 Hi Jim, Thanks for the suggestion. However, I would not venture into the wilds of the NWChem source code/build system without an intrepid guide... - Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SOLVED, just needed to modify ( "' ) and ( '" ) nested quotes in the makefile to ( \" ), and build works fine.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page