Commit Graph

90 Commits

Author SHA1 Message Date
Paolo Giannozzi ed0ee0c769 remove_stack_limits removed
The ifort-specific machinery that removes the stack limit dates back to many years ago. I don't think it is still needed or useful.
2024-03-15 14:54:08 +01:00
Ye Luo 63e94d78dc Fix ftn compilation error. 2023-05-08 17:37:26 -04:00
Paolo Giannozzi 5d74f827c4 Remove make.depend files from git 2021-10-24 21:29:29 +02:00
Paolo Umari e8493b4702 Removed some recently and less recently introduced bugs. 2021-09-16 12:52:40 +02:00
Paolo Giannozzi 31a7d9a284 Some more Makefile simplification 2021-08-27 11:07:16 +02:00
Paolo Giannozzi cd71868a3a Simplification and cleanup of Makefiles
The list of all general-purpose modules is defined once and for all in make.inc
and used everywhere. Can be further improved. IMPORTANT: re-run configure!
2021-08-26 22:26:28 +02:00
Paolo Giannozzi 55905c57a0 Compilation of GWL failing on some compilers due to missing link with upflib 2021-08-26 11:06:13 +02:00
Fabrizio Ferrari de902ae25c redundant ntids declaration 2021-07-12 14:29:01 +00:00
fabrizio22 c1337867b2 XClib - lib name changed 2021-01-06 15:36:00 +01:00
fabrizio22 2f933d101e XClib - lda - scratch 2021-01-06 15:31:24 +01:00
joshuadelliott ebacfb2a8b Attempt to fix failed cmake build 2020-11-22 23:25:55 +00:00
Paolo Giannozzi e256a3e8dc [Skip-CI] Makefile and documentation cleanup 2019-02-14 09:45:46 +01:00
Paolo Giannozzi 6f7bbdf452 More Makefile cleanup: targets pwlibs, phlibs added in order to avoid much
uneeded relinking; the mysterious "tldeps" machinery modified accordingly;
added explicit dependencies to GWW targets to prevent (once again) problems
with make -j (seems to work now). make.depend updated (once again).
2018-08-21 17:14:04 +02:00
Stefano De Gironcoli 18bfc19c86 a single libks_solvers.a library is created.
Makefiles of the children codes are updated to use it.
2018-08-14 01:41:44 +02:00
Stefano de Gironcoli bc59e529d8 more missing dependencies for libppcg.a added to Makefiles 2018-08-03 04:15:56 +02:00
Paolo Giannozzi 7f32483fff IN all Makefiles, LIBS replaced by QELIBS, to prevent unlikely but not
impossible clashes with LIBS as defined by the OS or as used by the configure's
of external libraries (e.g. FoX, for which one such problem has been reported)
2018-07-11 19:58:41 +02:00
Paolo Giannozzi a929525d7b No valid reason to re-defined IFLAGS inside Makefiles 2018-07-04 16:42:12 +02:00
Pietro Delugas 10e533531c modified Makefiles to fix PGI compilation 2018-07-04 09:02:15 +02:00
Paolo Giannozzi b99ec0dd54 A few more Makefile changes 2018-01-08 22:54:58 +01:00
giannozz bb112e77a8 __OPENMP => _OPENMP (set by all OpenMP-aware compilers)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13951 c92efa57-630b-4861-b058-cf58834340f0
2017-10-25 07:32:10 +00:00
degironc 4636bca635 KS_Solvers directory has been created with three subdirectories:
KS_Solvers/CG, KS_Solvers/Davidson, KS_Solvers/Davidson_RCI.
Two are currently used by QE, the third one implements the Davidson
diagonalization within the Reverse Communication Interface paradigm,
courtesy of Micael Oliveira.

KS_Solvers routines depend only on lower level libraries, notably UtilXlib, 
LAXlib, (SCA)LAPACK, and BLAS.

reorganization can be improved. For instance some duplicated routines like
cdiaghg and rdiaghg could/should be moved in LAXlib. This could reduce the need
to include  KS_Solvers directories in the link step of many codes.    

Minimal changes to calling sequence have been made, essentially just adding
h_psi,s_psi,g_psi and h_1psi,s_1psi routines names as arguments (with a
specific calling sequence ihardcode inside the routines that agree with PWSCF one). 
This could be avoided adopting the RCI paradigm.

Compiled in serial and parallel, 177/182 pw tests passed (3 that were failing 
even before on my laptop pw-berry, pw-langevin, pw-pawatom + 2 unknown==not tested), 
12 /17 cp tests passed (some o2-us-para-pbe-X fail but the same was for the 
original version)

I assume the modified calling procedure is working and the problem lies somewhere else.
 
Randomly tested some examples in pw, ph, pwcond and it seams to work.

Please report any problem.





git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13644 c92efa57-630b-4861-b058-cf58834340f0
2017-07-29 12:19:19 +00:00
degironc 7fd27ba0ad UtilXlib directory created to contain a library (libutil.a) for
basic operations: error handling, timing clocks, interfaces to basic mpi 
calls, find free units...
These routines are moved from Modules and dependencies to other modules
are removed. 

MANY files are updated to comply with the move.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13629 c92efa57-630b-4861-b058-cf58834340f0
2017-07-26 11:15:20 +00:00
giannozz 9229fe47e4 Reminder: empty strings are nonstandard in fortran, use ' ', not ''
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13108 c92efa57-630b-4861-b058-cf58834340f0
2016-10-13 11:25:10 +00:00
spigafi 02ad44cdf1 ifdef preprocessor macro refactoring (GWW)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12979 c92efa57-630b-4861-b058-cf58834340f0
2016-09-18 15:13:03 +00:00
giannozz 7ce7d161bf Makefile simplification: TOPDIR is used to define the same LIBOBJS everywhere.
In case of trouble, see instruction in the make.inc file.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12840 c92efa57-630b-4861-b058-cf58834340f0
2016-08-25 19:27:31 +00:00
giannozz 02ce4df8d6 make.sys => make.inc. All other codes using make.sys should modify their build
mechanism accordingly.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12539 c92efa57-630b-4861-b058-cf58834340f0
2016-06-25 07:26:50 +00:00
puma f0b5de7569 Oops
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12474 c92efa57-630b-4861-b058-cf58834340f0
2016-06-07 15:36:09 +00:00
puma d4bf8e349e Added support for SOC calulations
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12469 c92efa57-630b-4861-b058-cf58834340f0
2016-06-07 13:39:53 +00:00
giannozz 0091e313e1 Replicated, useless and confusing variable "outdir" in module io_files deleted
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12450 c92efa57-630b-4861-b058-cf58834340f0
2016-05-31 18:07:16 +00:00
giannozz df30a665aa Explicit preprocessing produces *_tmp.f90 files instead of *.F90 files, to
prevent trouble with OS-X. May or may not work (it won't unless configure
is updated: please somebody with v.2.63 of autoconf do it), may turn out to
be obsolete anyway.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12364 c92efa57-630b-4861-b058-cf58834340f0
2016-04-27 14:53:38 +00:00
giannozz ff7471ead0 Output of non-writing processes should not be redirected to /dev/null: it is
useless (the call to "environment_set" already does that) and breaks Windows


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12357 c92efa57-630b-4861-b058-cf58834340f0
2016-04-25 18:40:02 +00:00
giannozz 1fea499fae Since we are in the process of moving stuff around, I think it is a good
moment to get rid of flib/, whose usefulness is far from obvious. The content
of flib/ is now in Modules/. Many makefiles updated and little more. 

Packages using QE routines should just remove links to flib/flib.a.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12072 c92efa57-630b-4861-b058-cf58834340f0
2016-01-26 12:51:02 +00:00
ccavazzoni 0ac39fc1d3 - again LAXlib
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12060 c92efa57-630b-4861-b058-cf58834340f0
2016-01-23 20:08:09 +00:00
ccavazzoni adb2110747 - again dependencies
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11861 c92efa57-630b-4861-b058-cf58834340f0
2015-11-21 11:14:56 +00:00
ccavazzoni fdf7766648 - FFT Modules replaced by FFTXlib
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11857 c92efa57-630b-4861-b058-cf58834340f0
2015-11-21 10:37:48 +00:00
giannozz b5db8d6d76 Standard F2003 calls to: get_environment_variable, get_command_argument,
command_argument_count, flush, are used everywhere instead of wrappers.
Some old versions of compilers may no longer work.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11759 c92efa57-630b-4861-b058-cf58834340f0
2015-09-24 10:24:03 +00:00
giannozz 053c11d86e Lines exceeding 132 characters due to trailing blanks
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11421 c92efa57-630b-4861-b058-cf58834340f0
2015-03-04 10:05:55 +00:00
puma 9b518c9596 Added rigid scissors for occupied and unoccupied manifolds.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11381 c92efa57-630b-4861-b058-cf58834340f0
2015-02-11 17:43:31 +00:00
giannozz b13f91e362 Removal of obsolete __PARA preprocessing option
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11361 c92efa57-630b-4861-b058-cf58834340f0
2015-02-04 16:02:56 +00:00
giannozz 8cd038576b make clean removes *.a files as well
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11228 c92efa57-630b-4861-b058-cf58834340f0
2014-10-16 13:42:45 +00:00
puma f824923ffc Bug corrected.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11071 c92efa57-630b-4861-b058-cf58834340f0
2014-07-02 16:33:19 +00:00
giannozz 6216666a22 Correct spelling is "length", not "lenght"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10987 c92efa57-630b-4861-b058-cf58834340f0
2014-05-19 19:43:47 +00:00
giannozz c8bb567040 Convert all zdotc to lowercase - may be useful in case preprocessing of zdotc
is needed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10968 c92efa57-630b-4861-b058-cf58834340f0
2014-05-15 18:16:12 +00:00
puma 4ed7805729 New version number and year.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10905 c92efa57-630b-4861-b058-cf58834340f0
2014-04-26 02:20:51 +00:00
puma 35e57cafd7 Some fix for serial no-MPI compilation.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10862 c92efa57-630b-4861-b058-cf58834340f0
2014-04-09 13:47:11 +00:00
puma 5b86e1b6b2 Bug corrected, thanks to R. D'Agosta.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10848 c92efa57-630b-4861-b058-cf58834340f0
2014-04-07 09:27:20 +00:00
giannozz e1451f6d75 Files make.depend updated
Script generating make.depend temporarily modified so that it doesn't produce 
invalid make.depend files due to references to (missing unless installed)
environ modules
Version number updated to 5.0.99 (got the message?)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10844 c92efa57-630b-4861-b058-cf58834340f0
2014-04-04 09:36:29 +00:00
puma 9a0fef6467 Long lines splitted on two
some compiler complained,
update the examples part 




git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10807 c92efa57-630b-4861-b058-cf58834340f0
2014-03-18 13:57:04 +00:00
obm 8650ce963c Minor changes to how GWW starts: Now it calls environment_start, and it does not print "GWL version" hundreds of times.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10806 c92efa57-630b-4861-b058-cf58834340f0
2014-03-18 09:21:25 +00:00
giannozz ccdbd1d506 Some make.depend updated. Some others also need to be updated
but it is preferrable to wait a little bit until work on environ
is over


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10784 c92efa57-630b-4861-b058-cf58834340f0
2014-02-28 16:20:13 +00:00