quantum-espresso/install
ccavazzoni 0f6b93868d - fix dependencies
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11860 c92efa57-630b-4861-b058-cf58834340f0
2015-11-21 11:08:30 +00:00
..
m4 Added basic support for NAG (NAG Fortran >6.0). 2015-10-25 19:24:20 +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
Make.BGP eliminated Multigrid dep in Make.something in dir install 2011-03-24 15:44:01 +00:00
Make.BGP-openMP eliminated Multigrid dep in Make.something in dir install 2011-03-24 15:44:01 +00:00
Make.BGP-openMP+FFTW Recent make.sys sample for BG, may be useful 2012-06-28 15:44:23 +00:00
Make.CRAY-XK7 Compile and run QE-GPU on CRAY XK7 using PGI compilers -- updates 2013-09-18 21:46:47 +00:00
Make.CRAY-XK7.WITHOUT_GPU Taming the beats is never gonna be easy... make.sys for CPU and CPU+GPU CRAY XK7 TITAN (ORNL) -- PGI compiler 2014-03-23 00:38:38 +00:00
Make.CRAY-XK7.WITH_GPU Taming the beats is never gonna be easy... make.sys for CPU and CPU+GPU CRAY XK7 TITAN (ORNL) -- PGI compiler 2014-03-23 00:38:38 +00:00
Make.altix eliminated Multigrid dep in Make.something in dir install 2011-03-24 15:44:01 +00:00
Makefile_iotk extlibs deleted moved to archive and main install 2012-01-03 11:33:44 +00:00
Makefile_lapack extlibs deleted moved to archive and main install 2012-01-03 11:33:44 +00:00
Makefile_lapack_testing_lin extlibs deleted moved to archive and main install 2012-01-03 11:33:44 +00:00
README.CINECA_fermi UPdated with latest performance improvements 2012-10-11 21:17:02 +00:00
README.CRAY-XC30 Minor fixes, added CRAY XC30 (still a draft) 2013-06-19 03:19:49 +00:00
README.CRAY-XE6 Minor fixes, added CRAY XC30 (still a draft) 2013-06-19 03:19:49 +00:00
README.CRAY-XK7 Compile and run QE-GPU on CRAY XK7 using PGI compilers -- updates 2013-09-18 21:46:47 +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 New modular configure based on GNU M4 macros -- still beta 2014-08-07 09:55:24 +00:00
addsonpatch.sh errors with sed check, solved 2014-05-15 09:15:20 +00:00
addsontool.sh errors with sed check, solved 2014-05-15 09:15:20 +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 Added basic support for NAG (NAG Fortran >6.0). 2015-10-25 19:24:20 +00:00
configure-new Added basic support for NAG (NAG Fortran >6.0). 2015-10-25 19:24:20 +00:00
configure.ac Added basic support for NAG (NAG Fortran >6.0). 2015-10-25 19:24:20 +00:00
configure.ac.new Added basic support for NAG (NAG Fortran >6.0). 2015-10-25 19:24:20 +00:00
configure.msg.in - better support for SCALAPACK library. 2009-08-20 13:24:31 +00:00
espresso.nsis More configure and mingw install tweakings by Axel 2013-11-11 08:59:02 +00:00
extlibs_makefile Copying QE with "scp -r" causes the link $espresso/iotk -> $espresso/S3DE/iotk to become a directory. 2014-12-11 10:15:07 +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
iotk_config.h More fixes for NAG Fortran compiler... 2015-09-22 21:32:14 +00:00
make.sys.in Enabling --prefix 2014-10-30 16:14:03 +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 extlibs deleted moved to archive and main install 2012-01-03 11:33:44 +00:00
make_wannier90.sys.in make_wannier90.sys.in added to dir install 2010-11-23 11:57:58 +00:00
makedeps.sh - fix dependencies 2015-11-21 11:08:30 +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 More miscellanous cleanup from Axel: 2006-12-12 11:02:09 +00:00
plugins_list Minor updates to documentation, misspell 2015-11-02 10:27:46 +00:00
plugins_makefile Added basic support for NAG (NAG Fortran >6.0). 2015-10-25 19:24:20 +00:00
refresh-configure.sh New modular configure based on GNU M4 macros -- still beta 2014-08-07 09:55:24 +00:00
sync-mingw-to-repo.sh More minor mingw and windows build problems 2013-11-08 20:16:51 +00:00
update_version IBM machines do not like "diff -q" 2012-07-20 13:37:00 +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/