quantum-espresso/install
Paolo Giannozzi 5a7e661fba makedepend.sh scrit updated to remove references to module cudafor 2019-01-13 22:02:34 +01:00
..
m4 Hdf5 config 2018-12-11 09:11:52 +00: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 Don't fail when cleaning twice 2018-06-28 11:53:49 +02: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 Obsolete configure option removed 2018-09-07 17:14:10 +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 Hdf5 config 2018-12-11 09:11:52 +00:00
configure.ac Obsolete configure option removed 2018-09-07 17:14:10 +02:00
configure.msg.in ELPA as external library, step 1 (ScaLAPACK continues to be mandatory). Added 2016-09-29 22:13:41 +00:00
espresso.nsis More configure and mingw install tweakings by Axel 2013-11-11 08:59:02 +00:00
extlibs_makefile F90 flags passed to fox config in a cleaner way 2018-07-01 08:50:55 +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 More makefile glitches 2018-10-02 17:33:50 +02: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 makedepend.sh scrit updated to remove references to module cudafor 2019-01-13 22:02:34 +01: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 Updating plugin for v6.3 2018-06-18 11:38:49 +02:00
plugins_makefile fix make clean for SternheimerGW 2018-07-03 10:00:21 +01: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/