quantum-espresso/install
Paolo Giannozzi 8e7fd37fe0 Configure for PPC64 machines with Linux and new xlf compiler should not set
-D__XLF unless xlf is actually used
2019-08-23 21:01:15 +02:00
..
m4 Configure for PPC64 machines with Linux and new xlf compiler should not set 2019-08-23 21:01:15 +02:00
EnvVarUpdate.nsh More changes to the build system for MinGW by Axel, more Makefile cleanup 2013-11-06 20:45:58 +00:00
Makefile.lib_eigsolve Updated GPU Eigensolver Makefile 2019-02-11 11:41:41 +01:00
Makefile_iotk make.sys => make.inc. All other codes using make.sys should modify their build 2016-06-25 07:26:50 +00:00
README.FX10 Added make.inc for Fujitsu FX10: added option -x dir for cvray (prevents 2017-11-10 15:12:41 +00:00
README.IDRIS_ADA Minimal information to compile on Frenche IDRIS machines 2014-07-01 15:35:54 +00:00
README.IDRIS_TURING Minimal information to compile on Frenche IDRIS machines 2014-07-01 15:35:54 +00:00
README.MinGW More changes to the build system for MinGW by Axel, more Makefile cleanup 2013-11-06 20:45:58 +00:00
aclocal.m4 Cuda detection was placed in the wrong position. Also added test-suite execution when Galileo@CINECA nodes are available. 2019-08-22 12:14:50 +02:00
addsonpatch.sh make.sys => make.inc. All other codes using make.sys should modify their build 2016-06-25 07:26:50 +00:00
addsontool.sh make.sys => make.inc. All other codes using make.sys should modify their build 2016-06-25 07:26:50 +00:00
build-mingw-cross.sh More configure and mingw install tweakings by Axel 2013-11-11 08:59:02 +00:00
clean.sh An error in previous commit. 2012-08-20 15:29:26 +00:00
config.guess Updated GNU autoconf files to better identify new platform (e.g. POWER, ARM, etc). 2015-08-03 21:35:06 +00:00
config.sub Updated GNU autoconf files to better identify new platform (e.g. POWER, ARM, etc). 2015-08-03 21:35:06 +00:00
configure Configure for PPC64 machines with Linux and new xlf compiler should not set 2019-08-23 21:01:15 +02:00
configure.ac Cuda detection was placed in the wrong position. Also added test-suite execution when Galileo@CINECA nodes are available. 2019-08-22 12:14:50 +02:00
configure.msg.in 1) Added ./configure options to compile and link with libxc: 2019-02-12 10:10:11 +01:00
espresso.nsis More configure and mingw install tweakings by Axel 2013-11-11 08:59:02 +00:00
extlibs_makefile Updated GPU eigensolver version. 2019-04-13 14:16:53 +02:00
includedep.sh Script finding dependencies wasn't working if there was a single file in the 2013-12-10 17:48:15 +00:00
install-sh added autoconf-based configure (file "configure.new") and related files 2003-11-13 13:35:10 +00:00
install_utils Quick-and-dirty memory tracker, courtesy Pietro Bonfà, added. Part of it had 2018-02-17 18:53:49 +01:00
iotk_config.h More fixes for NAG Fortran compiler... 2015-09-22 21:32:14 +00:00
make.inc.in 1) Added ./configure options to compile and link with libxc: 2019-02-12 10:10:11 +01:00
make_lapack.inc.in Netlib BLAS is part of Netlib LAPACK (same packaging). No point to keep two 2016-09-09 14:27:10 +00:00
make_wannier90.inc.in Try to avoid full path in make.inc in LAPACK_LIBS and BLAS_LIBS. Helps avoiding 2016-09-11 15:03:08 +00:00
makedeps.sh [Skip-CI] Cleanup of script finding module dependencies 2019-04-05 12:00:04 +02:00
moduledep.sh Script finding dependencies wasn't working if there was a single file in the 2013-12-10 17:48:15 +00:00
namedep.sh More miscellanous cleanup from Axel: 2006-12-12 11:02:09 +00:00
plugins_list fix fetching Wannier90 2019-05-06 17:56:21 +02:00
plugins_makefile Little fix 2019-04-09 13:47:38 +02:00
refresh-configure.sh Refresh configure 2017-02-24 09:34:51 +00:00
sync-mingw-to-repo.sh More minor mingw and windows build problems 2013-11-08 20:16:51 +00:00

README.MinGW

Notes for cross-compiling Quantum ESPRESSO in serial/parallel from Fedora Linux
to 32-bit and 64-bit Windows using the provided MinGW64/gcc toolchain.

Set up a suitable (virtual) machine and install the following packages:
make git vim-enhanced dos2unix htmldoc latex2html mingw32-nsis
mingw32-gcc-gfortran mingw64-gcc-gfortran tcl tcllib netpbm-progs

Create user 'winbuild' and set password.

Log in and create ssh key pair and append the public key the .ssh/authorized_keys
file of the repository account for automatic file transfer

Edit $HOME/.bash_profile to set environment variables for depositing files
QE4WIN_REPO_HOST QE4WIN_REPO_USER QE4WIN_REPO_DIR

Clone adjusted espresso tree via (XXX: change to svn after completion):
 git clone git@bitbucket.org:akohlmey/espresso-qmmm.git espresso-qmmm
 cd espresso-qmmm
 git checkout mingw-build

From now on, to build and sync the windows installers to the repository with:
cd ~/espresso-qmmm/
git pull
./install/build-mingw-cross.sh
./install/sync-mingw-to-repo.sh

To generate a suitable OpenBLAS dll download the latest OpenBLAS release
source package, unpack it, and change into the unpacked directory

make clean
make BINARY=32 TARGET=CORE2 USE_THREAD=0 CC=i686-w64-mingw32-gcc \
  FC=i686-w64-mingw32-gfortran HOSTCC=gcc 
mkdir -p ~/espresso-qmmm/install/blas-win32/
cp libopenblas.dll  ~/espresso-qmmm/install/blas-win32/

make clean
make BINARY=64 TARGET=CORE2 USE_THREAD=0 CC=x86_64-w64-mingw32-gcc \
  FC=x86_64-w64-mingw32-gfortran HOSTCC=gcc 
mkdir -p ~/espresso-qmmm/install/blas-win64/
cp libopenblas.dll  ~/espresso-qmmm/install/blas-win64/