Commit Graph

252 Commits

Author SHA1 Message Date
Ye Luo 597416dacb redefine hdf io.
if(request_pio)
  if(LIBHDF5 is parallel)
    // mode PIO
    IS_PARALLEL=true
    NOIO=false
  else
    // mode MASTER
    IS_PARALLEL=false
    NOIO=false on rank==0 only
  endif
else
  // mode ALL
  IS_PARALLEL=false
  NOIO=false
endif

IS_MASTER=true on rank==0 only
2017-08-01 11:31:44 -05:00
Ye Luo 9f6b1bc59c Merge branch 'develop' into rebuild-master 2017-07-11 22:43:26 -05:00
Ye Luo 38112115bd Change ENABLE_AA_SOA flag to ENABLE_SOA. 2017-07-11 20:10:51 -05:00
Mark Dewing 53c9ac64db Add message to the branch if MPI is not found. 2017-07-06 16:16:28 -05:00
Mark Dewing 71a47054c3 Fix build if MPI is not found
Fixes issue #287 (Bug: Cmake configure does not complete without MPI due to test dependencies)

When MPI is not present, FindMPI sets the MPI_LIBRARY to the "not found" state,
causing a failure when using that library name.
The fix is to set MPI_LIBRARY to an empty string if MPI is not present.
2017-07-06 13:08:39 -05:00
Ye Luo fd74fe77b8 Avoid adding regular tests when building miniapps. 2017-06-21 16:12:43 -05:00
Ye Luo 40935a8b73 Merge Release 3.1 into rebuild-master
Conflicts:
	tests/system/CMakeLists.txt
2017-06-21 15:26:32 -05:00
Paul Kent 654cc64d10 Increase version number, update release notes 2017-06-21 09:36:27 -04:00
Ye Luo 093bbf1d7f Merge remote-tracking branch 'github/develop' into rebuild-master 2017-06-05 14:32:29 -05:00
Paul R. C. Kent 63bb56bb3c Merge pull request #249 from ye-luo/restart-test
Add a restart test
2017-06-05 12:38:02 -04:00
Ye Luo 98c104e910 Integrate restart test. 2017-06-04 00:00:46 -05:00
Andreas Tillack 24775d1038 Updated build recipe for OLCF SummitDev to use new CUDA_ARCH variable and elimated additional compiler version output. 2017-06-01 16:09:02 -04:00
Ye Luo 509f5de062 Correct the cached variable description. 2017-06-01 12:47:35 -05:00
Ye Luo 5c68932740 Add CUDA_ARCH flag to switch in cmake.
sm_20 was removed.
2017-06-01 12:42:44 -05:00
Andreas Tillack 9a0fdc8403 Updated cmake compiler detection and settings to work with newer IBM XL compiler on ppc64le architecture as used on OLCF SummitDev. Additionally, updated the build recipe for OLCF SummitDev reflecting the current software stack and this change. 2017-05-31 16:01:54 -04:00
Ye Luo c83e728288 Merge remote-tracking branch 'github/develop' into rebuild-master
Conflicts:
	src/QMCDrivers/DMC/DMCOMP.cpp
	src/QMCDrivers/VMC/VMCSingleOMP.cpp
2017-05-26 23:37:09 -05:00
Paul Young 4b0d033edd added test not failing 2017-05-23 16:58:12 -05:00
Ye Luo 6e5d459e02 Merge remote-tracking branch 'github/develop' into rebuild-master 2017-05-11 10:16:29 -05:00
Paul Kent 160e05c117 Correct handling of QMC_MPI for ctest 2017-05-10 21:37:11 -04:00
Ye Luo 2ccb4d7431 Merge branch 'opt.soa' into rebuild-master 2017-05-05 17:23:25 -05:00
Ye Luo d7abc4a17e Merge remote-tracking branch 'github/develop' into rebuild-master 2017-05-05 17:22:48 -05:00
Mark Dewing 6cf57dd016 Support manual coverage runs
Move the coverage flags from the ctest script to the compiler scripts.
Both GCC and Clang support the GCC-style output with the --coverage flag.

Use the ENABLE_GCOV flag to add the compiler coverage flag.

Add a script (run_coverage.sh) to create the gcov files (and HTML reports
if gcovr is present) after a build is done with coverage enabled.
2017-05-05 16:35:41 -05:00
Ye Luo 013dd269e0 Clearer cmake error message. 2017-05-04 17:21:13 -05:00
Ye Luo 8edbd4ce4e Trap CUDA and static linking conflict. 2017-05-04 14:41:57 -04:00
Ye Luo 42610c0868 Allow to select dynamic vs static on Cray. 2017-05-04 14:05:56 -04:00
Ye Luo 81a3351a06 Set C++11 requirement for accessing SoA. 2017-05-01 21:20:22 -05:00
Ye Luo cb175fc838 Merge remote-tracking branch 'github/develop' into rebuild-master
Conflicts:
	src/Numerics/Blasf.h
2017-05-01 16:16:08 -05:00
mmorale3 ef807f3ce0 added template specializations to src/Messages/CommOperatorMPI.h 2017-04-18 12:18:26 -07:00
Ye Luo 3b3febf5be Merge branch 'rebuild-master' into LAPW
Conflicts:
	src/QMCWaveFunctions/TrialWaveFunction.cpp
2017-03-23 22:15:09 -05:00
Ye Luo edf7e1508b Merge branch 'github-develop' into rebuild-master 2017-03-23 22:08:34 -05:00
Paul R. C. Kent 579bd61eff Merge pull request #153 from markdewing/afqmc_sparse_fallback
AFQMC - add sparse matrix multiply
2017-03-17 17:48:14 -05:00
Mark Dewing 06c0c362bc AFQMC - warning instead of error if MKL not found
Print a performance warning about using the simple sparse matrix routines.
2017-03-17 08:54:11 -05:00
Paul R. C. Kent 5bb8752e19 Merge pull request #149 from markdewing/afqmc_clang_fixes
AFQMC clang fixes
2017-03-16 14:53:00 -05:00
Mark Dewing 155e49c6bc Add warning if MPI compiler wrapper not used
Do a more precise check to see if the MPI compiler wrapper is being used with
an MPI-enabled build.  If not, print a warning message.
2017-03-15 11:33:12 -05:00
ChangMo Yang 1f63858c42 Put into effect MPI_CXX_INCLUDE_PATH and MPI_CXX_LIBRARIES from CMake 2017-03-15 13:50:29 +09:00
Mark Dewing 18e767b6f5 AFQMC - fixes for Mac build
Comment out the use of sys/sysinfo.h - it's used to print the
free memory before a sparse eigenvalue computation.  And this
eigenvalue computation appears to be unused elsewhere in the code.

The 'rt' library does not need to be linked on Mac.
2017-03-14 11:38:06 -05:00
Mark Dewing 944bf070a2 AFQMC w/clang - fix build and some warnings.
Fixes:
 - For some versions of the std C++ library (clang using -stdlib=libc++,
    which is default on Mac OS, bgclang++11 on BG/Q) the implementation of
    std::inplace_merge needs a default constructor for the iterator.
 - Use myconj instead of std::conj - need to return a real number if the base
    data type is real.
 - Link with librt for all cases (needed to link a SHM routine).

Also clean up some clang warnings.
2017-03-14 10:20:24 -05:00
Ye Luo ef1992d45d Merge branch 'rebuild-master' into LAPW 2017-03-03 19:56:43 -06:00
Ye Luo a89d00351d Merge branch 'github-develop' into rebuild-master 2017-03-03 19:52:53 -06:00
Ye Luo 01c3e6ad11 Remove GSL. 2017-02-24 22:15:48 -06:00
Ye Luo b225da37af Add GSL in CMake. 2017-02-24 19:51:34 -06:00
Ye Luo 43d9283722 Complete the previous commit. 2017-02-16 00:08:32 -06:00
Mark Dewing d86733131d Add limit to NiO benchmark size
Use QMC_NIO_MAX_SIZE to limit the benchmark size.
Due to time or memory limits, all the benchmark sizes may not fit
on a particular machine.
2017-02-14 12:23:54 -06:00
Mark Dewing 59709d6f01 Add NiO benchmark files.
QMC_DATA_NIO_H5 should be set to a directory containing the *.h5 files for
the tests to be active.
2017-02-13 17:18:01 -06:00
Ye Luo 2607652717 Merge branch 'github-develop' into rebuild-master 2017-02-12 21:44:15 -06:00
Mark Dewing 39c6d206ce Soft link pseudopotential files in tests.
Some of the *.BFD.xml files in the test inputs are referenceed using a relative
symbolic link.  Using FILE(COPY ...) will keep the link, which then becomes a
dangling link pointing to nothing.  The previous method of
'cmake -E copy_directory' converted to link to an actual file copy.  The fix is
to treat the psuedopotential files the same as the *.h5 files, and the code
creates a symbolic link to the original file.

Also print a status message with the state of QMC_SYMLINK_TEST_FILES and a short
explanation of the consequences.
2017-02-09 14:25:41 -06:00
Mark Dewing e5c5c837a4 Use symbolic links for test files.
The variable QMC_SYMLINK_TEST_FILES can be used to force a copy instead
of creating a symlink (set it to FALSE).
2017-02-08 14:39:51 -06:00
Ye Luo 609c8a0bbc Merge branch 'github-develop' into rebuild-master 2017-02-04 16:11:36 -06:00
Ye Luo c1f1efbbed Merge branch 'github-develop' into rebuild-master-up-to-date-as-github
Conflicts:
	CMakeLists.txt
	src/CMakeLists.txt
	src/QMCWaveFunctions/OrbitalBase.h
	src/QMCWaveFunctions/TrialWaveFunction.cpp
2017-02-02 00:12:55 -06:00
jeongnim a6caf375bd CMakeLists.txt sets c++11 and BUILD_MINIAPPS=1
Remove c++11 from Intel and GNU toolchains
2017-02-02 00:01:18 -06:00