Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
CrysFML
Commits
fc24e1c8
Commit
fc24e1c8
authored
Dec 24, 2021
by
juan rodriguez-carvajal
Browse files
Changing the Cmake_help.inf document.
parent
3241cf67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cmake_help.inf
View file @
fc24e1c8
...
...
@@ -74,6 +74,12 @@ cmake -G "NMake Makefiles" -D GUI=ON -D PROG_EX=OFF -D ARCH32=OFF -D CMAKE_BUIL
cmake -G "NMake Makefiles" -D GUI=ON -D PROG_EX=OFF -D ARCH32=OFF -D CMAKE_Fortran_COMPILER_FORCED=ON -D CMAKE_BUILD_TYPE=Debug -D CMAKE_Fortran_COMPILER=ifort -D CMAKE_INSTALL_PREFIX=%CRYSFML%\ifort64_debug -D CRYSFML_PREFIX=LibC -D WCRYSFML_PREFIX=LibW ..\..\.
-----------------------------------------------------------------------OK for debug
oneAPI (For the moment the option /Qparallel does not work properly)
======
cmake -G "NMake Makefiles" -D CMAKE_Fortran_COMPILER=ifort -D PROG_EX=OFF -D GUI=ON -D ARCH32=OFF -D CMAKE_INSTALL_PREFIX=%CRYSFML%\oneAPI -D CRYSFML_PREFIX=LibC -D WCRYSFML_PREFIX=LibW ..\..\.
Building CrysFML08
==================
# Console Only for Ifort in debug mode
...
...
@@ -89,15 +95,7 @@ cmake -G "MinGW Makefiles" -D ARCH32=OFF -D PROG_EX=OFF GUI=OFF -D CMAKE_BUILD
Building CrysFML for use with HDF5
==================================
We should use the alternative CFML_ILL_Instrm_Data_Nexus.f90 instead of CFML_ILL_Instrm_Data.f90. This is done via pre-processor.
To help cmake finding dependencies (i.e HDF5, Boost, NeXuS and blosc), environment variables must be set
- CRYSFML_HDF5_DIR
- CRYSFML_BOOST_DIR
- CRYSFML_NEXUS_DIR
- CRYSFML_BLOSC_DIR
cmake -G "Unix Makefiles" -D CMAKE_Fortran_COMPILER=ifort -D USE_HDF=ON -D GUI=ON -D ARCH32=OFF -D CMAKE_INSTALL_PREFIX=$CRYSFML/ifort64HDF -D CRYSFML_PREFIX=LibC -D WCRYSFML_PREFIX=LibW ../../.
cmake -G "NMake Makefiles" -D CMAKE_Fortran_COMPILER=ifort -D CMAKE_BUILD_TYPE=Debug -D GUI=ON -D ARCH32=OFF -D CMAKE_INSTALL_PREFIX=%CRYSFML%\ ..\..\.
We have decided to make an access to HDF5 with a module outside CrysFML. The pre-processor compilation is no more needed.
Be aware hdf5 cannot be built with MinGW without a subtle trick.
See http://hdf-forum.184993.n3.nabble.com/HDF5-and-MinGW-td3393676.html
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment