Commit Graph

416 Commits

Author SHA1 Message Date
giannozz 5820eb34da Yet another configure glitch with openmp
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6807 c92efa57-630b-4861-b058-cf58834340f0
2010-05-29 13:15:04 +00:00
giannozz 356a1e73af Missing option in LDFLAGS for BG SMP
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6806 c92efa57-630b-4861-b058-cf58834340f0
2010-05-29 10:59:34 +00:00
giannozz b6317b7e5a Missing space before and after "=" in "test"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6805 c92efa57-630b-4861-b058-cf58834340f0
2010-05-29 10:12:38 +00:00
giannozz 62242a4015 How boring to rename a file in cvs ...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6803 c92efa57-630b-4861-b058-cf58834340f0
2010-05-28 20:00:29 +00:00
giannozz cc81b1665d configure updated for MPI+OpenMP on BlueGene - may or may not work. Use as
./configure ARCH=ppc64-bg --enable-openmp


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6802 c92efa57-630b-4861-b058-cf58834340f0
2010-05-28 19:59:51 +00:00
giannozz 41c8c89044 Oops...one missing space and all machines are BlueGene
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6781 c92efa57-630b-4861-b058-cf58834340f0
2010-05-21 08:49:42 +00:00
giannozz aa3c1b6356 BG configure glitch (use essl instead of fftw)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6780 c92efa57-630b-4861-b058-cf58834340f0
2010-05-20 13:43:48 +00:00
giannozz 9e313720bc Misc small corrections/updates/additions
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6779 c92efa57-630b-4861-b058-cf58834340f0
2010-05-20 13:20:32 +00:00
giannozz 72c33e160b First attempt of configure for BlueGene - likely working only for the
Julich machine. In other places, try "./configure ARCH=ppc64-bg BLAS_LIBS=...
LAPACK_LIBS=... SCALAPACK_DIR=... BLACS_DIR=..."


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6778 c92efa57-630b-4861-b058-cf58834340f0
2010-05-20 13:02:28 +00:00
giannozz ac52ad8adc Make for BlueGene updated to new installation mechanism. Still requires
some hand work for lapack, may or may not run (but at least it links).
Comments on location of internal lapack library in make.sys.in corrected


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6776 c92efa57-630b-4861-b058-cf58834340f0
2010-05-19 10:52:22 +00:00
obm 8082e1d8ff Mac Os X 10.6 related info&touches
!Warning: 64 bit support of intel compilers in Mac Os X 10.6.3 is buggy as of
11.1.088, any double complex on-the-fly constant passed to a subroutine i.e.
(1.d0,0.d0), is registered as a crazily small number.

!Warning: Trying to compile 64 bit using intel compilers 11.1.084 and below
results in very hard to debug errors, any on the fly double complex constant
overflows to a very small number leading to NaNs and unexpected zeroes everywhere

Intel compilers <11.067 are not supported under MacOs 10.6 (Linking Registers fail)

Be sure to use ranlib in compatibility mode


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6771 c92efa57-630b-4861-b058-cf58834340f0
2010-05-15 23:43:19 +00:00
giannozz 4a40332d1a No reason to have two different ways to detect mkl
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6768 c92efa57-630b-4861-b058-cf58834340f0
2010-05-14 13:12:54 +00:00
giannozz 780f09d0f8 Cray XT confusion: both "crayxt" and "crayxt4" are used (the user guide
documents the latter). They should be equivalent.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6759 c92efa57-630b-4861-b058-cf58834340f0
2010-05-12 08:07:42 +00:00
obm 261ede1620 Sadly, the workaround for mkl does not work in MacOs. This patch eneables correct detection for
64 bit libraries. PW compiles, but it behaves erratic. Still working on it.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6758 c92efa57-630b-4861-b058-cf58834340f0
2010-05-11 20:04:46 +00:00
nn245 304e2541d5 Revert "configure: check for fftw (not fftw3)" (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6757 c92efa57-630b-4861-b058-cf58834340f0
2010-05-11 15:49:46 +00:00
nn245 ef33d7352e install/configure: improvements for crayxt (arch=crayxt is now autodetected) (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6753 c92efa57-630b-4861-b058-cf58834340f0
2010-05-10 17:34:46 +00:00
nn245 0cef31c889 install/configure.ac: use AC_PROG_FC rather than the old AC_PROC_F77 (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6752 c92efa57-630b-4861-b058-cf58834340f0
2010-05-10 17:34:36 +00:00
nn245 4c4841c5bc install/configure.ac: fix indentation (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6751 c92efa57-630b-4861-b058-cf58834340f0
2010-05-10 17:34:26 +00:00
nn245 d16365b2aa configure: check for fftw (not fftw3) (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6750 c92efa57-630b-4861-b058-cf58834340f0
2010-05-10 16:01:30 +00:00
nn245 36c741a6b8 Check for libraries blas-3/lapack-3 before blas/lapack (default on Debian/Ubuntu). (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6749 c92efa57-630b-4861-b058-cf58834340f0
2010-05-10 16:01:21 +00:00
nn245 e5bfde5be5 Add correct detection of pathscale mpif90 (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6748 c92efa57-630b-4861-b058-cf58834340f0
2010-05-10 16:01:03 +00:00
nn245 818e1be2a3 install/configure(.ac)?: normalize whitespace (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6747 c92efa57-630b-4861-b058-cf58834340f0
2010-05-10 16:00:47 +00:00
giannozz a56dcd8856 Updates: Mac OS-X fix, documentation in make.sys.in on how to link fortran
blas and lapack. What is the usage of FLIB_TARGET by the way?


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6694 c92efa57-630b-4861-b058-cf58834340f0
2010-05-02 10:14:50 +00:00
obm f0ec0671e9 Small touches for easier compilation in MACOS X 10.6
This one enables compilation of pw using macports g95 gcc and apple libtool
I still have to test if the compilation was proper.

MacOs X 10.6 is an esoteric operating system, especially how the '64 bit' is
handled. Any help on the matter is really appreciated

1) g95 from macports complain that beta in exx.f90 is not an integer. I did not
 see any reason why it was not an integer either. Please verify

2) apple suplied ranlib has some 'touches' related to 'universal' libraries
which mix 64 bit 32 bit and ppc all together, this results in lost symbols
in some cases (sadly Q-E is one such case). Details at
http://osdir.com/ml/gnu.libtool.general/2002-07/msg00045.html
modifying configure.ac such that in mac pcs ranlib is run in compatibility mode

The next patch will be about MKL. At least in the trial version, MKL is supplied
with ifort by default, however configure does not look for it. I will check
if it is due to some esoteric behaviour, otherwise enable it.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6692 c92efa57-630b-4861-b058-cf58834340f0
2010-05-02 06:25:01 +00:00
marsamos 8abea0f6c4 added AC_SUBST for topdir
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6584 c92efa57-630b-4861-b058-cf58834340f0
2010-04-01 08:25:26 +00:00
marsamos f12ae44a3e added topdir variable for linking iotk and other libs with plugins
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6583 c92efa57-630b-4861-b058-cf58834340f0
2010-04-01 08:24:16 +00:00
giannozz c087c07dda Added --use-debug option to configure. Implemented only for a few cases.
(configure not yet updated)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6552 c92efa57-630b-4861-b058-cf58834340f0
2010-03-25 17:08:11 +00:00
ferretti 8ddad778e4 -fast option added to LDFLAGS when using sun studio. This is to avoid missing libraries
due to a symbol name mismatch (__sincos).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6512 c92efa57-630b-4861-b058-cf58834340f0
2010-03-18 16:08:51 +00:00
giannozz 134cc39ef6 Cleanup of configure: removed several obsolete cases. Documentation
updated accordingly, removed old stuff.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6508 c92efa57-630b-4861-b058-cf58834340f0
2010-03-17 17:07:05 +00:00
giannozz a52eb0f295 Sun compiler name unified to sunf95 for both Solaris and Linux
(please verify)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6504 c92efa57-630b-4861-b058-cf58834340f0
2010-03-17 07:48:18 +00:00
giannozz e9b112ea4e "--with-scalapack" should be the default, as stated in the documentation
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6491 c92efa57-630b-4861-b058-cf58834340f0
2010-03-16 09:42:50 +00:00
giannozz f0847d5054 Fixed problem on sp6: --with-scalapack + no scalapack = bogus library found
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6476 c92efa57-630b-4861-b058-cf58834340f0
2010-03-09 09:26:08 +00:00
nn245 65ef38ae30 Fix error in configure -- affected compilers without CPP (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6462 c92efa57-630b-4861-b058-cf58834340f0
2010-03-02 15:01:07 +00:00
nn245 fadb0f945a Add -g flag to gfortran to include debugging symbols for better backtrace information (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6461 c92efa57-630b-4861-b058-cf58834340f0
2010-03-02 15:00:54 +00:00
giannozz 30026538c5 Added "-Mcache_align" for portland (Filippo Spiga)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6458 c92efa57-630b-4861-b058-cf58834340f0
2010-03-01 21:12:00 +00:00
giannozz 3f297f87a9 Minor addition to installation system: makefile for cray-xt4 with openmp,
configure updtae for openmp (Filippo Spiga), added possibility to pass
LD_LIBS to configure (Henning Glawe)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6452 c92efa57-630b-4861-b058-cf58834340f0
2010-02-25 20:29:47 +00:00
marsamos 148e49c59b bug fixed for ibm essl
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6437 c92efa57-630b-4861-b058-cf58834340f0
2010-02-18 10:43:48 +00:00
marsamos ade4aca090 for subdirs // is needed.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6436 c92efa57-630b-4861-b058-cf58834340f0
2010-02-18 10:30:16 +00:00
giannozz e31d6fabfd Workaround for PGI and Cray compilers that get confused by f77 files in
Multigrid/: optimization for f77 files lowered from -fast to -O3
(courtesy of Filippo Spiga)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6414 c92efa57-630b-4861-b058-cf58834340f0
2010-02-15 18:34:26 +00:00
nn245 8daa9b3256 Add traceback for ifort compilation (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6412 c92efa57-630b-4861-b058-cf58834340f0
2010-02-15 12:31:32 +00:00
giannozz 90d7bfc82d Added fix to makedepend.sh so that it doesn't complain for fortran 2003
"iso_c_binding" module it cannot find


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6380 c92efa57-630b-4861-b058-cf58834340f0
2010-02-09 15:26:21 +00:00
nn245 b77ad91ac2 sunf90: fix -M compiler flag (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6374 c92efa57-630b-4861-b058-cf58834340f0
2010-02-09 15:16:14 +00:00
nn245 fec0711674 sunf90: correct -fpp option (N. Nemec)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6372 c92efa57-630b-4861-b058-cf58834340f0
2010-02-09 15:15:57 +00:00
giannozz 4934b395ba Added signal processing by RdM. Disabled by default, enabled by option
-D__TRAP_SIGUSR1 or using "./configure --enable-signals"


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6370 c92efa57-630b-4861-b058-cf58834340f0
2010-02-08 19:25:34 +00:00
nn245 6e9aae1fcb Correctly detect gfortran in mpif90 call
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6320 c92efa57-630b-4861-b058-cf58834340f0
2010-01-27 17:01:47 +00:00
nn245 ffc1fe51e7 Enable Sun Fortran on ia32 and x86_64 architectures
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6319 c92efa57-630b-4861-b058-cf58834340f0
2010-01-27 17:00:47 +00:00
giannozz 197f6e7964 Configure cleanup and simplification. The unthreaded verison of MKL is
now linked by default. Should work with recent versions of MKL as well.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6251 c92efa57-630b-4861-b058-cf58834340f0
2009-12-15 12:35:55 +00:00
giannozz 2d451be769 Support for intel compilers v.7 and earlier (ifc) removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6246 c92efa57-630b-4861-b058-cf58834340f0
2009-12-12 15:10:15 +00:00
giannozz c72f01195d Minor changes to increase clarity (or decrease obscurity) of configure
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6244 c92efa57-630b-4861-b058-cf58834340f0
2009-12-12 11:16:36 +00:00
giannozz 6a1776186d Minor update for ifort: -i-static is deprecated and replaced by -static-intel
since ifort v.10


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6241 c92efa57-630b-4861-b058-cf58834340f0
2009-12-11 17:18:35 +00:00