Commit Graph

22 Commits

Author SHA1 Message Date
giannozz 04a06fec64 memstat.c modified to be compliant with C standard (picky compilers may complain)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5998 c92efa57-630b-4861-b058-cf58834340f0
2009-10-10 16:36:49 +00:00
giannozz 682e063081 Minor changes for Sun Sparcs
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5263 c92efa57-630b-4861-b058-cf58834340f0
2008-11-04 11:04:30 +00:00
giannozz bea61e7dc2 Support for Solaris PC with Sun compiler added
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4631 c92efa57-630b-4861-b058-cf58834340f0
2008-01-16 15:23:43 +00:00
giannozz 856f7a5714 Yet another attempt towards a working memory report - not sure it works
now but for sure it was not working before on AIX


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4009 c92efa57-630b-4861-b058-cf58834340f0
2007-07-09 17:02:35 +00:00
ceresoli 35bdbe290e Better(?) memory statistics. Unfortunately every libc fills in different
struct mallinfo fields. Tested in Linux and AIX. (D.C.)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3797 c92efa57-630b-4861-b058-cf58834340f0
2007-02-21 09:15:19 +00:00
giannozz 853f5ec075 Patches by Axel for Cray XT3 weirdness
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3514 c92efa57-630b-4861-b058-cf58834340f0
2006-11-06 15:21:11 +00:00
giannozz aab0e4a65b More preprocessing and installation cleanup (or maybe messup)
The include file for C routines is generated by configure,
in a way that should be very general and robust.  Beware:
you need to re-run configure to regenerate include/c_defs.h


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3423 c92efa57-630b-4861-b058-cf58834340f0
2006-09-29 15:25:53 +00:00
giannozz 18f702a8c1 Mangling of C routines to be called by fortran is done by the "standard"
F77_FUNC and F77_FUNC_ preprocessor macro . It is easy now to select the
good functions with "configure" (it is still done with -D flags though)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3416 c92efa57-630b-4861-b058-cf58834340f0
2006-09-22 14:59:25 +00:00
giannozz 10abc1bd3e Timing functions for Mac and other machines that do not define CLK_TCK
Preprocessing flag __HAVE_MALLINFO, set by configure, flags machines
having the "mallinfo" structure used by the memory estimator
config.h removed: it wasn't used anywhere


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3402 c92efa57-630b-4861-b058-cf58834340f0
2006-09-20 10:40:34 +00:00
giannozz 65988cde08 Minor changes related to Mac OS-X support - hopefully no more need to
locate malloc.h and to define __MAC


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3379 c92efa57-630b-4861-b058-cf58834340f0
2006-09-12 16:17:24 +00:00
cavazzon 6748616e7c - allocated memory statistic using mallinfo. Mallinfo seems the most
used function to get the allocated memory by a process.
  Is available on Linux and AIX, and possibly on many other systems.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3207 c92efa57-630b-4861-b058-cf58834340f0
2006-06-26 07:50:31 +00:00
giannozz 0032789b2f Only the __AIX case is kept (it was the only nonobsolete working one)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2972 c92efa57-630b-4861-b058-cf58834340f0
2006-03-28 15:39:28 +00:00
cavazzon f88ba38509 - more CP/FPMD merging
- clean-up


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2183 c92efa57-630b-4861-b058-cf58834340f0
2005-09-15 16:51:35 +00:00
giannozz d450333ead Various fixes for Mac by AK
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1797 c92efa57-630b-4861-b058-cf58834340f0
2005-04-13 13:36:49 +00:00
giannozz 1648ab6bf2 Patches from Axel Kohlmayer:
- iotk_scan in iotk_module had a mixed up 'intent' statement.
- sun ultra fire 3 compiler warnings
- cleanup in filename length (brought to 256)
- cleanup in include files


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1399 c92efa57-630b-4861-b058-cf58834340f0
2004-10-26 09:32:48 +00:00
sbraccia 0caeadbd7b Machine-dependent definitions are now contained in two different files (both in /include):
1) f_defs.h  for definitions to be included in FORTRAN files ONLY
   2) c_defs.h  for definitions to be included in C       files ONLY

C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1012 c92efa57-630b-4861-b058-cf58834340f0
2004-06-25 17:25:37 +00:00
giannozz 88f90f0851 Support for SGI Altix (Martin Hilgeman) - see cpdocs/ChangeLog
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@681 c92efa57-630b-4861-b058-cf58834340f0
2004-02-26 16:26:48 +00:00
cavazzon 962296d977 deallocation statements added to CPV
for neb like dynamics


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@601 c92efa57-630b-4861-b058-cf58834340f0
2004-02-16 09:53:00 +00:00
giannozz 6dc987f2fe Yet another line continuation problem in bp_c_phase.f90 (with ifc)
DEC __QSW TRU64 => __ALPHA for Alpha machines (with OSF/Tru64 or
whatever it is called now: any Alpha Linux around?)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@232 c92efa57-630b-4861-b058-cf58834340f0
2003-06-12 11:23:17 +00:00
giannozz cb0e24eda7 File name harmonisation:
filemd => 'prefix'.md, filebfgs => 'prefix'.bfgs
Misc. T3E fixes (c_gemm, s_gemm; idum initialized when written)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@101 c92efa57-630b-4861-b058-cf58834340f0
2003-02-28 17:16:27 +00:00
cavazzon 0d8fb8b997 CPP macro ORIGIN and SGI changed to __ORIGIN and __SGI
Make.origin now works for all codes, Make.cp.origin removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@95 c92efa57-630b-4861-b058-cf58834340f0
2003-02-25 22:45:04 +00:00
giannozz ac9f2144c0 O-sesame
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2 c92efa57-630b-4861-b058-cf58834340f0
2003-01-19 21:58:50 +00:00