quantum-espresso/install
spigafi 65bf3e129a HDF5_LIB, not HFD5_LIB
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12909 c92efa57-630b-4861-b058-cf58834340f0
2016-09-02 12:19:28 +00:00
..
m4 __PARA completely deprecated 2016-09-01 11:19:13 +00:00
EnvVarUpdate.nsh
Makefile_iotk make.sys => make.inc. All other codes using make.sys should modify their build 2016-06-25 07:26:50 +00:00
Makefile_lapack
Makefile_lapack_testing_lin
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
aclocal.m4 --enable-xml add __XDS to make.inc 2016-08-28 10:33:22 +00: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
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 __PARA completely deprecated 2016-09-01 11:19:13 +00:00
configure.ac --enable-xml add __XDS to make.inc 2016-08-28 10:33:22 +00:00
configure.msg.in First HDF5 support -- changes pending 2016-08-26 14:34:01 +00:00
espresso.nsis More configure and mingw install tweakings by Axel 2013-11-11 08:59:02 +00:00
extlibs_makefile make.sys => make.inc. All other codes using make.sys should modify their build 2016-06-25 07:26:50 +00: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
iotk_config.h More fixes for NAG Fortran compiler... 2015-09-22 21:32:14 +00:00
make.inc.in HDF5_LIB, not HFD5_LIB 2016-09-02 12:19:28 +00:00
make_blas.inc.in Added basic support for NAG (NAG Fortran >6.0). 2015-10-25 19:24:20 +00:00
make_lapack.inc.in
make_wannier90.inc.in Changes from .sys to .inc. 2016-07-01 10:08:41 +00:00
makedeps.sh "vi" ahi ahi 2016-08-29 12:49:09 +00: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
plugins_list Cleaning GPU targets. Version numbers updated. 2016-08-29 13:06:21 +00:00
plugins_makefile Cleaning GPU targets. Version numbers updated. 2016-08-29 13:06:21 +00:00
refresh-configure.sh Script to (re)generate configure 2016-01-05 17:23:05 +00:00
sync-mingw-to-repo.sh
update_version

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/