quantum-espresso/install
giannozz 159176fedb Merge branch 'misc_stuff' into 'develop'
Issue 165 plus minor stuff

Closes #165

See merge request QEF/q-e!868
2020-04-08 20:20:45 +00:00
..
m4 Merge branch 'develop' into 'develop' 2020-04-08 20:19:29 +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 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 Added ensemble support to run_driver.f90 and BEEF-vdW native links. 2020-03-18 12:52:00 -04: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
build_fox_with_pgi.sh PGI bash shell script to build fox library with PGI compiler in Windows10. FoX internal configure script badly fails. 2020-01-26 01:39:44 +01: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 updated to reflect the latest changes 2020-04-08 16:20:50 +02:00
configure.ac Added ensemble support to run_driver.f90 and BEEF-vdW native links. 2020-03-18 12:52:00 -04: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 Added workaround for compiling FoX on systems that do not support cp -p. 2020-02-03 16:39:20 +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 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 Added ensemble support to run_driver.f90 and BEEF-vdW native links. 2020-03-18 12:52:00 -04: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 Dependency script updated 2020-03-31 18:00:53 +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/