alexxy/gromacs.git
12 years agoMerge gromacs-4-6 into master
Roland Schulz [Sun, 11 Dec 2011 20:17:43 +0000 (15:17 -0500)]
Merge gromacs-4-6 into master

Conflicts:
CMakeLists.txt
README
bootstrap
share/template/.gitignore
src/gmxlib/.gitignore
src/gmxlib/CMakeLists.txt
src/kernel/.gitignore
src/ngmx/.gitignore
src/tools/.gitignore
src/tools/CMakeLists.txt
src/tools/gmx_dos.c
src/tools/gmx_energy.c
src/gromacs/CMakeLists.txt

Change-Id: I18a484ef470a8af9fc0eb80d086eb80f45de2d2c

12 years agoMerge release-4-5-patches into release-4-6
Roland Schulz [Sun, 11 Dec 2011 20:05:19 +0000 (15:05 -0500)]
Merge release-4-5-patches into release-4-6

Conflicts:
admin/GerritBuild.bat

Change-Id: Ib62e8f5949cc8e65342cd1826888901d11032474

12 years agoMerge "Set -DMPI only if compiled for FAH" into release-4-5-patches
Roland Schulz [Sun, 11 Dec 2011 19:47:54 +0000 (20:47 +0100)]
Merge "Set -DMPI only if compiled for FAH" into release-4-5-patches

12 years agoSet -DMPI only if compiled for FAH
Roland Schulz [Sun, 11 Dec 2011 18:51:07 +0000 (13:51 -0500)]
Set -DMPI only if compiled for FAH

MPI conflicts with C++ MPI namespace.
This allows to compile with FAH or with C++ and MPI.
Compiling with FAH and C++ and MPI will still have a name conflict.

Resolves #849

Change-Id: I73ccb7b0e682ae6d12352c76e26c6d79e93ea798

12 years agoFixing MSVC unsigned/signed warnings
Roland Schulz [Sun, 11 Dec 2011 02:35:47 +0000 (21:35 -0500)]
Fixing MSVC unsigned/signed warnings

Change-Id: I110b591cfd8c8078f3b7853bdf2db6a705e9e453

12 years agoRun tests also on Windows
Roland Schulz [Sat, 10 Dec 2011 00:53:12 +0000 (19:53 -0500)]
Run tests also on Windows

Change-Id: Iab166b5cc8e394e3d330afffd86aced00aa7e0a2

12 years agoOnly check those atoms for PBC which are part of selection (Issue #809)
Roland Schulz [Tue, 11 Oct 2011 21:32:42 +0000 (17:32 -0400)]
Only check those atoms for PBC which are part of selection (Issue #809)

Change-Id: I2afccb82c3b761890f4d1f53d842606bb8404c98

12 years agoUnused TestReferenceData no longer does anything.
Teemu Murtola [Wed, 19 Oct 2011 16:45:38 +0000 (19:45 +0300)]
Unused TestReferenceData no longer does anything.

The reference data framework no longer creates a refdata/ directory for
every test binary (even if the test binary did not use the framework).
Also, TestReferenceData now only reports failure for missing data if
rootChecker() is actually called.  Similarly, reference data is only
written if rootChecker() has been called.  This makes it easier to write
test fixtures that provide reference data comparison that may not be
used in all tests.

Helps implementing issue #823.

Change-Id: I7c8dc18a8de9d47f41977ab7c9a7052df582b53d

12 years agoImprove array handling in TestReferenceChecher.
Teemu Murtola [Mon, 17 Oct 2011 16:28:59 +0000 (19:28 +0300)]
Improve array handling in TestReferenceChecher.

Make it possible to use the checker with const arrays and with
real-valued arrays.  For simplicity, renamed all the array overloads to
checkSequenceArray(), since there should be no reason to call an
overload that does not match the type.

Prerequisite for issue #823.

Change-Id: I34de06bcc9ddd392bc3d5390e4aabaf97952270a

12 years agoRemove state from TestReferenceData.
Teemu Murtola [Sun, 16 Oct 2011 12:07:05 +0000 (15:07 +0300)]
Remove state from TestReferenceData.

Moved all check*() methods from TestReferenceData into a separate class,
TestReferenceChecker.  Also replaced startCompound()/finishCompound()
pair with a checkCompound() method that returns a new instance of
TestReferenceChecker that works within that compound.  This allows one
to create multiple TestReferenceChecker objects within one test and
use them independently to compare different data against the reference.
It also simplifies the internal logic in the classes somewhat.

Also some minor updates to documentation of the classes.

Prerequisite for issue #823.

Conflicts:

src/gromacs/selection/tests/selectioncollection.cpp

Change-Id: I822e60d469462d4f5d441fe8243836d800cbb82d

12 years agoMerge "Added an option to easily compile contrib programs with cmake" into release-4-6
Roland Schulz [Thu, 8 Dec 2011 19:59:20 +0000 (20:59 +0100)]
Merge "Added an option to easily compile contrib programs with cmake" into release-4-6

12 years agoMerge "Fix selection parsing in double precision." into release-4-5-patches
Roland Schulz [Thu, 8 Dec 2011 19:57:05 +0000 (20:57 +0100)]
Merge "Fix selection parsing in double precision." into release-4-5-patches

12 years agoMerge "Use exceptions for fatal errors in testutils."
Roland Schulz [Thu, 8 Dec 2011 19:53:38 +0000 (20:53 +0100)]
Merge "Use exceptions for fatal errors in testutils."

12 years agoMerge "Avoid possible warnings if HUGE_VAL != infinity." into release-4-5-patches
Roland Schulz [Thu, 8 Dec 2011 19:53:08 +0000 (20:53 +0100)]
Merge "Avoid possible warnings if HUGE_VAL != infinity." into release-4-5-patches

12 years agoRemove RETSIGTYPE. C89 defines return value to be void.
Roland Schulz [Fri, 25 Nov 2011 11:34:06 +0000 (06:34 -0500)]
Remove RETSIGTYPE. C89 defines return value to be void.

Because it is defined in C89 no sane system should require this anymore.
Checked for Windows.
See e.g. http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg01076.html

Change-Id: If24fa3d47a1ddec189784f49e3e59e1936fe263d

12 years agoAdding support for Windows build and different CMake Versions
Roland Schulz [Fri, 2 Dec 2011 21:48:17 +0000 (16:48 -0500)]
Adding support for Windows build and different CMake Versions

Ant doesn't work very well - trying shell script instead

Change-Id: Ia08e6979c0e0734c33183840c9d34c3a7367af4a

12 years agoAdding support for Windows build and different CMake Versions
Roland Schulz [Fri, 2 Dec 2011 21:48:17 +0000 (16:48 -0500)]
Adding support for Windows build and different CMake Versions

Ant doesn't work very well - trying shell script instead

Change-Id: Ia08e6979c0e0734c33183840c9d34c3a7367af4a

12 years agoRemoved some direct output to stderr.
Teemu Murtola [Sun, 25 Sep 2011 18:11:14 +0000 (21:11 +0300)]
Removed some direct output to stderr.

Functions that used to print information directly to stderr now take a
FILE object such that the caller can decide where the information goes.
The caller for now still always prints to stderr, but this reduces the
number of direct references to stderr. Remaining references to stderr in
the selection module are either for 1) part of interactive input, 2)
debug output, or 3) rare error conditions that require some thought on
how to handle.

Related to issue #655.

Change-Id: If0d7b6c5ba36ad64f97ff2cfac8f7ab47b4d5a27

12 years agoAdded unit tests for some selection errors.
Teemu Murtola [Thu, 8 Sep 2011 15:39:27 +0000 (18:39 +0300)]
Added unit tests for some selection errors.

Part of tasks #651 and #655.

Change-Id: I3a6a9bb0e4e635eb93f5c5faa4e796415592b608

12 years agoUse exceptions in selection evaluation.
Teemu Murtola [Thu, 8 Sep 2011 15:37:48 +0000 (18:37 +0300)]
Use exceptions in selection evaluation.

Converted also the rest of selection compilation, because it internally
uses the evaluation engine.

Will add some unit tests for error conditions in a subsequent commit.

Part of task #655.

Change-Id: I7f3fc705888a02a7cd99e46952129996ee49e4cc

12 years agoUse exceptions in selection compilation.
Teemu Murtola [Sat, 3 Sep 2011 05:56:29 +0000 (08:56 +0300)]
Use exceptions in selection compilation.

Converted parts that do not depend on selection evaluation.

Part of task #655.

Change-Id: Ie2fe5fdfebb47e5317eb0bf1e4b516b7f09de790

12 years agoFix selection parsing in double precision.
Teemu Murtola [Thu, 1 Dec 2011 16:00:09 +0000 (18:00 +0200)]
Fix selection parsing in double precision.

Fixes #850.

Change-Id: Ifd0bf1f5401ca4d62571c8c2fc39e67cac537ecf

12 years agoAvoid possible warnings if HUGE_VAL != infinity.
Teemu Murtola [Thu, 1 Dec 2011 15:52:28 +0000 (17:52 +0200)]
Avoid possible warnings if HUGE_VAL != infinity.

Replaced HUGE_VAL by GMX_REAL_MAX in one source file for trajectory
analysis library source file, since it seemed to cause compiler warnings
on some systems.

Reported by Chris Neale on gmx-users.

Change-Id: Ic52a01c5bcedb244d1453117f626ef4f0d46df78

12 years agoAdding Gerrit Build description
Roland Schulz [Wed, 30 Nov 2011 10:10:25 +0000 (05:10 -0500)]
Adding Gerrit Build description

Change-Id: Ib9e88333967178c8f0962a72e5f8432067094e77

12 years agoAdding Gerrit Build description
Roland Schulz [Wed, 30 Nov 2011 10:10:25 +0000 (05:10 -0500)]
Adding Gerrit Build description

Change-Id: Ib9e88333967178c8f0962a72e5f8432067094e77

12 years agoRemoving TestBuildAll test
Roland Schulz [Sun, 27 Nov 2011 21:30:25 +0000 (16:30 -0500)]
Removing TestBuildAll test

No need for it because ctest automtically tests building anyhow
It does not work under Windows (using msbuild not make)

Change-Id: I02c7152d61cbe5b536c86c406f37ed78db94ee11

12 years agoMerge "Merge remote-tracking branch 'gerrit/release-4-5-patches' into release-4-6...
Roland Schulz [Wed, 30 Nov 2011 05:37:37 +0000 (06:37 +0100)]
Merge "Merge remote-tracking branch 'gerrit/release-4-5-patches' into release-4-6" into release-4-6

12 years agoFix FFTW API usage
Roland Schulz [Mon, 28 Nov 2011 02:47:22 +0000 (21:47 -0500)]
Fix FFTW API usage

FFTW API uses the fftw/fftwf prefix to select the precision.
To make the code indepent Gromacs uses the FFTW macro.
In this case the marco wasn't used but it had no effect
because for iodim both version are identical.

Submitted by Ake Sandgren (ake.sandgren@hpc2n.umu.se) to gmx-developers

Change-Id: I8ad037b90caef5952b7b49379b81b2c8e90b0daa

12 years agoMerge "Fixes inconsistent spelling of Git cmake variables" into release-4-6
Roland Schulz [Sun, 27 Nov 2011 23:57:57 +0000 (00:57 +0100)]
Merge "Fixes inconsistent spelling of Git cmake variables" into release-4-6

12 years agoMerge remote-tracking branch 'gerrit/release-4-5-patches' into release-4-6
Roland Schulz [Sun, 27 Nov 2011 21:52:42 +0000 (16:52 -0500)]
Merge remote-tracking branch 'gerrit/release-4-5-patches' into release-4-6

Change-Id: I9f12fee0e49e1f7d758a2080337269753f31f3bf

12 years agoMerge "Replace '_' in all mdp options to '-'" into release-4-6
Roland Schulz [Sun, 27 Nov 2011 21:51:48 +0000 (22:51 +0100)]
Merge "Replace '_' in all mdp options to '-'" into release-4-6

12 years agoMerge "Cleaning up some bad coding practices" into release-4-6
Roland Schulz [Sun, 27 Nov 2011 21:48:50 +0000 (22:48 +0100)]
Merge "Cleaning up some bad coding practices" into release-4-6

12 years agoMerge "Initialize variables to make GCC 4.6 not complain" into release-4-5-patches
Roland Schulz [Sun, 27 Nov 2011 21:48:33 +0000 (22:48 +0100)]
Merge "Initialize variables to make GCC 4.6 not complain" into release-4-5-patches

12 years agoRemoving TestBuildAll test
Roland Schulz [Sun, 27 Nov 2011 21:30:25 +0000 (16:30 -0500)]
Removing TestBuildAll test

No need for it because ctest automtically tests building anyhow
It does not work under Windows (using msbuild not make)

Change-Id: I02c7152d61cbe5b536c86c406f37ed78db94ee11

12 years agofixed pull constraint periodicity consistency check, fixes #844
Berk Hess [Sun, 27 Nov 2011 21:29:35 +0000 (22:29 +0100)]
fixed pull constraint periodicity consistency check, fixes #844

Change-Id: Ifb8e37c5ca3bb5c36631c0b3db65928f27887bdb

12 years agoMerge "Added support for submission to cdash servers." into release-4-6
Roland Schulz [Sun, 27 Nov 2011 21:24:43 +0000 (22:24 +0100)]
Merge "Added support for submission to cdash servers." into release-4-6

12 years agoMerge "Changed cryptic variable names" into release-4-6
Roland Schulz [Fri, 25 Nov 2011 12:21:10 +0000 (13:21 +0100)]
Merge "Changed cryptic variable names" into release-4-6

12 years agoCleaning up some bad coding practices
Roland Schulz [Wed, 23 Nov 2011 07:34:07 +0000 (23:34 -0800)]
Cleaning up some bad coding practices

- missing return statement
- recommended parenthesis
- uneeded declarations
- statement without effect
- missing switch/break or undocumented fall-through
- unused static variables

Unless I'm mistaken none of the changes has any effect.

Change-Id: I060ce5b50d8e7df3a97917633fc77d7d2e8481a9

12 years agoAdded support for submission to cdash servers.
Rossen Apostolov [Fri, 25 Nov 2011 10:44:09 +0000 (11:44 +0100)]
Added support for submission to cdash servers.

With the default setup ctest will send the results to
the Gromacs project on cdash.gromacs.org

Change-Id: Ieb096b7c20734ec7a641523aba06775eb1c2ccc6

12 years agoFixes inconsistent spelling of Git cmake variables
Roland Schulz [Wed, 23 Nov 2011 01:45:51 +0000 (17:45 -0800)]
Fixes inconsistent spelling of Git cmake variables

The cmake Git script uses "GIT" but the gmxGenerateVersionInfo
was still using "Git".

Re-introduced cmake/FindGit.cmake copied from CMake 2.8.2,
because CMake 2.8.0 did not include this module. This branch
now builds with CMake 2.8.0 and higher.

Change-Id: I06ee2f7478c16923746591ff5171430454d55549

12 years agoChanged cryptic variable names
Mark Abraham [Wed, 23 Nov 2011 03:03:24 +0000 (14:03 +1100)]
Changed cryptic variable names

'multiplicity' is much more readable than 'xity'

Change-Id: I4c070a66c4863414cddfbaaa9c099736f6c98e3d

12 years agoInitialize variables to make GCC 4.6 not complain
Roland Schulz [Thu, 24 Nov 2011 06:03:50 +0000 (01:03 -0500)]
Initialize variables to make GCC 4.6 not complain

The variables are only used when initialized but GCC doesn't detect that.

Change-Id: Ib79383e14d5de90f99f0f267e5039f811980bdb8

12 years agoOnly analyse angle transitions for dihedral angles
Mark Abraham [Wed, 23 Nov 2011 03:19:17 +0000 (14:19 +1100)]
Only analyse angle transitions for dihedral angles

Change-Id: Ia973d5b31c38f94a7ca2e3c2d8265b3552253103

12 years agoMerge "Fixed g_angle -f -or to copy times from -f to -or" into release-4-5-patches
Roland Schulz [Thu, 24 Nov 2011 00:20:03 +0000 (01:20 +0100)]
Merge "Fixed g_angle -f -or to copy times from -f to -or" into release-4-5-patches

12 years agoAdded protective preprocessor directives
Mark Abraham [Tue, 24 Nov 2009 02:10:17 +0000 (15:10 +1300)]
Added protective preprocessor directives

Avoids code compiled with -O0 dereferencing null pointers. Duplicates
and expands a fix suggested by Valentin Pavlov <x.pavlov@gmail.com>.

Change-Id: I41f27bce385c5f960270ac616abd6fdd038312fa

12 years agoAdded an option to easily compile contrib programs with cmake
Roland Schulz [Wed, 23 Nov 2011 07:27:51 +0000 (23:27 -0800)]
Added an option to easily compile contrib programs with cmake

Change-Id: Ib3fa2368c74c85bb733ba0d52e13e560134cfc5c

12 years agoFixed g_angle -f -or to copy times from -f to -or
Mark Abraham [Wed, 23 Nov 2011 01:46:05 +0000 (12:46 +1100)]
Fixed g_angle -f -or to copy times from -f to -or

Change-Id: Ie3d45c7454880cf65d583980cf6639f5527b22c9

12 years agoActually -cpi and -bcpo must not be identical
Carsten Kutzner [Tue, 22 Nov 2011 14:14:48 +0000 (15:14 +0100)]
Actually -cpi and -bcpo must not be identical

Change-Id: Iac44c2dc7d7add1f951ff6018bbfaabe8160af25

12 years agofixed dd load print frequency with nsteps=-1, fixes #829
Berk Hess [Tue, 15 Nov 2011 14:14:45 +0000 (15:14 +0100)]
fixed dd load print frequency with nsteps=-1, fixes #829

Change-Id: I66736af49665e6cc90875acbf52a45b5a9727915

12 years agoMerge "Misc. exception safety fixes."
Kasson [Thu, 10 Nov 2011 20:21:47 +0000 (21:21 +0100)]
Merge "Misc. exception safety fixes."

12 years agomdp options in *.html also uses '-' instead of '_'
Alexey Shvetsov [Thu, 20 Oct 2011 19:08:31 +0000 (23:08 +0400)]
mdp options in *.html also uses '-' instead of '_'

Change-Id: I856d64badfe26598650d65feae1354fb8d688999
Signed-off-by: Alexey Shvetsov <alexxy@omrb.pnpi.spb.ru>
12 years agoMerge "Fixed bug #830 (segv in do_dssp)" into release-4-5-patches
Christoph Junghans [Tue, 8 Nov 2011 03:18:08 +0000 (04:18 +0100)]
Merge "Fixed bug #830 (segv in do_dssp)" into release-4-5-patches

12 years agoMerge "Fix for GB, double, SSE2 and optimized kernels" into release-4-5-patches
Kasson [Tue, 8 Nov 2011 02:47:36 +0000 (03:47 +0100)]
Merge "Fix for GB, double, SSE2 and optimized kernels" into release-4-5-patches

12 years agoFix for GB, double, SSE2 and optimized kernels
Mark Abraham [Wed, 2 Nov 2011 05:00:18 +0000 (16:00 +1100)]
Fix for GB, double, SSE2 and optimized kernels

As suggested by Julius Su in
http://lists.gromacs.org/pipermail/gmx-developers/2011-November/005432.html

Change-Id: Id50d63958e8b3fee810a8d4ed6e021510c98d9aa

12 years agoTrigger correct kernels under Cygwin
Mark Abraham [Tue, 1 Nov 2011 15:41:04 +0000 (02:41 +1100)]
Trigger correct kernels under Cygwin

CMAKE_SYSTEM_PROCESSOR calls uname -p, which returns "unknown" on
Cygwin, so we need to use another mechanism to trigger the use of
SSE/SSE2 optimization.

Change-Id: Ic6406bb36b853a2bd3b22345e36e4914eb04fd8d

12 years agoFixed bug #830 (segv in do_dssp)
Carsten Kutzner [Mon, 31 Oct 2011 10:52:33 +0000 (11:52 +0100)]
Fixed bug #830 (segv in do_dssp)

Change-Id: Ibaa2cf25586d879fce62e9086fee1b510e034e40

12 years agoMade reading of binary matrices more robust
Mark Abraham [Thu, 27 Oct 2011 06:34:37 +0000 (17:34 +1100)]
Made reading of binary matrices more robust

The routine to read the binary matrix should check that the storage is
available before using it. Also, the documentation in the header
should be explicit that valid storage locations need to be passed in.

Change-Id: I95e9120bceac02031a7f39412ba226ef2644a444

12 years agoUse exceptions for fatal errors in testutils.
Teemu Murtola [Wed, 5 Oct 2011 18:06:41 +0000 (21:06 +0300)]
Use exceptions for fatal errors in testutils.

Now the TestReferenceData class reports fatal errors (e.g., corrupt
reference data file) as exceptions using a new exception class
gmx::test::TestException. All comparison failures, including missing
reference data, are reported as non-fatal Google Test assertions.
Also some improvements to handling of missing reference data items.

Change-Id: Ibb4a5ac449e76f6706f8febbd471b1e8a049db4a

12 years agoAdded gtest and gmock under src/external/.
Teemu Murtola [Tue, 4 Oct 2011 18:10:09 +0000 (21:10 +0300)]
Added gtest and gmock under src/external/.

Source code copied from Google Test / Google Mock 1.6.0 (see
README.Gromacs for details).
Build system adapted to build tests against these versions of gtest and
gmock. Added advanced CMake variables GMX_USE_GTEST and GMX_USE_GMOCK,
which can be used to disable building the frameworks (and tests that use
them).

Google Test 1.6.0 handles test-thrown exceptions better (reports them as
failures instead of terminating the whole executable). With this
version, system-wide installation is no longer supported by Google, and
the officially supported way is to build the test framework as part of
the build system. Thus, the simplest way is to include the whole
framework in the source tree, which also makes it simpler to build the
tests.

Makes issue #639 obsolete (removes FindGMock.cmake completely) and
relates to #815 (removes FindCMake.cmake, which was copied from 2.8.2).

Change-Id: I021e81ea1529c8dea621c2d8b060c08987f9ca59

12 years agoMerge "Remove explicit paths from cmake add_test() calls."
Kasson [Wed, 26 Oct 2011 11:55:48 +0000 (13:55 +0200)]
Merge "Remove explicit paths from cmake add_test() calls."

12 years agoMerge "Removed unnecessary information from user API docs."
Kasson [Wed, 26 Oct 2011 11:47:46 +0000 (13:47 +0200)]
Merge "Removed unnecessary information from user API docs."

12 years agoRemove explicit paths from cmake add_test() calls.
Teemu Murtola [Wed, 26 Oct 2011 05:28:00 +0000 (08:28 +0300)]
Remove explicit paths from cmake add_test() calls.

With this alternative syntax, CMake recognizes the logical names of
binaries built during the build process and runs them appropriately,
irrespective of their location.
Also removed an unnecessary enable_testing() from tests/CMakeLists.txt.

Change-Id: Ie7d7c6f96d92dfab4450d06178bb507c2cdc6a7c

12 years agoReplace '_' to '-' in mdp options for tutorials
Alexey Shvetsov [Thu, 20 Oct 2011 19:21:34 +0000 (23:21 +0400)]
Replace '_' to '-' in mdp options for tutorials

Change-Id: I918e50f4c48369ec5a303b2475d89275808ca654
Signed-off-by: Alexey Shvetsov <alexxy@omrb.pnpi.spb.ru>
12 years agoReplace '_' in all mdp options to '-'
Alexey Shvetsov [Thu, 20 Oct 2011 19:03:13 +0000 (23:03 +0400)]
Replace '_' in all mdp options to '-'

This changeset replaces '_' to '-' in all mdp options and in
*.log output of mdrun. So options like

init_step -> init-step and so on

Change-Id: If04e4408e7f9f27ee37cbdaa624e14aab46cddfe
Signed-off-by: Alexey Shvetsov <alexxy@omrb.pnpi.spb.ru>
12 years agoMerge "Changed default value for g_anaeig -last to -1" into release-4-6
Christoph Junghans [Thu, 20 Oct 2011 12:17:21 +0000 (14:17 +0200)]
Merge "Changed default value for g_anaeig -last to -1" into release-4-6

12 years agoMerge "Fixes for GB kernel" into release-4-5-patches
Christoph Junghans [Thu, 20 Oct 2011 12:14:49 +0000 (14:14 +0200)]
Merge "Fixes for GB kernel" into release-4-5-patches

12 years agoMerge "Add CMakeLists.txt.user to gitignore" into release-4-6
Christoph Junghans [Thu, 20 Oct 2011 12:10:18 +0000 (14:10 +0200)]
Merge "Add CMakeLists.txt.user to gitignore" into release-4-6

12 years agoMerge "Fix compiler warning in thread_mpi."
Christoph Junghans [Thu, 20 Oct 2011 12:06:32 +0000 (14:06 +0200)]
Merge "Fix compiler warning in thread_mpi."

12 years agoMerge "fixed pull constraining doing nothing, fixes #825" into release-4-5-patches
Teemu Murtola [Wed, 19 Oct 2011 15:30:38 +0000 (17:30 +0200)]
Merge "fixed pull constraining doing nothing, fixes #825" into release-4-5-patches

12 years agoCorrected charge of CHARMM zinc ion to +2
Mark Abraham [Wed, 19 Oct 2011 11:59:48 +0000 (22:59 +1100)]
Corrected charge of CHARMM zinc ion to +2

Change-Id: Id64c3f5bbd9e0993e4b598dc971a780d3d7337dc

12 years agoMerge "Doxygen updates for fatalerror module."
David van der Spoel [Tue, 18 Oct 2011 18:35:48 +0000 (20:35 +0200)]
Merge "Doxygen updates for fatalerror module."

12 years agoMerge "Misc. Doxygen improvements."
David van der Spoel [Tue, 18 Oct 2011 18:32:57 +0000 (20:32 +0200)]
Merge "Misc. Doxygen improvements."

12 years agoMerge "Fixes MPI_GROUP_EMPTY for tMPI" into release-4-6
Christoph Junghans [Sat, 15 Oct 2011 13:35:37 +0000 (15:35 +0200)]
Merge "Fixes MPI_GROUP_EMPTY for tMPI" into release-4-6

12 years agocall to gmx_mtop_generate_local_top is only required once
Roland Schulz [Fri, 14 Oct 2011 03:28:10 +0000 (23:28 -0400)]
call to gmx_mtop_generate_local_top is only required once
fixes memory leak

Change-Id: I1ef9860e4b5c24a15acd1b2de88d89721771d840

12 years agoChanged default value for g_anaeig -last to -1
Mark Abraham [Thu, 13 Oct 2011 03:14:54 +0000 (14:14 +1100)]
Changed default value for g_anaeig -last to -1

The old default for -last was 8, which is pretty arbitrary. There are so many
different operations for g_anaeig that requiring the user to make an active choice
about any eigenvector subset seems wise. The new default is to do the operation
on all of the eigenvectors.

Change-Id: I52ba7539d70e559712b52e5ec46dff6731c99094

12 years agofixed pull constraining doing nothing, fixes #825
Berk Hess [Thu, 13 Oct 2011 08:16:11 +0000 (10:16 +0200)]
fixed pull constraining doing nothing, fixes #825

Change-Id: Iefadc0bb34241f91998e6d9f974150da54397045

12 years agoFix compiler warning in thread_mpi.
Teemu Murtola [Wed, 12 Oct 2011 15:42:24 +0000 (18:42 +0300)]
Fix compiler warning in thread_mpi.

When compiling C++ source files, the -Wsign-compare seems to be on by
default on GCC with the compiler flags that Gromacs uses by default.
Because of this, the fixed line caused a very long compiler warning on
all C++ source files that (indirectly) included thread_mpi headers,
e.g., by including typedefs.h.

Change-Id: Ie71071f32753bb37f40104523c1a30301b8ec5ae

12 years agoAdd CMakeLists.txt.user to gitignore
Alexey Shvetsov [Tue, 11 Oct 2011 22:34:58 +0000 (02:34 +0400)]
Add CMakeLists.txt.user to gitignore

This will add CMakeLists.txt.user [file generated by qtcreator] to
gitignore

Change-Id: I5511a03dbbeaa4f376e8b1fd3218c82d77272167
Signed-off-by: Alexey Shvetsov <alexxy@omrb.pnpi.spb.ru>
12 years agoUpdated grompp.mdp for tutor/water
Alexey Shvetsov [Tue, 11 Oct 2011 22:09:49 +0000 (02:09 +0400)]
Updated grompp.mdp for tutor/water

Updated grompp.mdp for tutor water that works with current gromacs

Issue #802

Change-Id: I3a80fa15ea08b25dd817b743331fa278aefb0d15
Signed-off-by: Alexey Shvetsov <alexxy@omrb.pnpi.spb.ru>
12 years agoFixes MPI_GROUP_EMPTY for tMPI
Roland Schulz [Tue, 11 Oct 2011 22:14:25 +0000 (18:14 -0400)]
Fixes MPI_GROUP_EMPTY for tMPI

Fixes breakege of tMPI version
introduced by commit 8cd25f0d45567b53027c7c4ab9bb2e8d5606932d

Change-Id: I8a79b863f5c1a25efebde55a597f6194889b4d2f

12 years agoMisc. exception safety fixes.
Teemu Murtola [Sun, 9 Oct 2011 09:29:26 +0000 (12:29 +0300)]
Misc. exception safety fixes.

Some classes did not free all memory correctly if an exception was
thrown during construction. Either fixed these, or marked as TODO if it
was more complex and current code did not trigger any issues.

Change-Id: I498b4ccbc195d7972d9bd8a9207a053837a4aa8b

12 years agoMerge "Removed duplicate CMake functionality" into release-4-6
Szilárd Páll [Thu, 6 Oct 2011 23:30:50 +0000 (01:30 +0200)]
Merge "Removed duplicate CMake functionality" into release-4-6

12 years agofixed segv in parallel replica exchange
Berk Hess [Thu, 6 Oct 2011 14:55:30 +0000 (16:55 +0200)]
fixed segv in parallel replica exchange

The last fix and commit of mdrun.c, ea3111, caused a segv with multisim
when the simulations were in parallel. Fixes #821

Change-Id: Ie3936b224d81dc3a304357bcd3438d2b4f5192e3

12 years agoRemoved erroneous use of MASSV on BlueGene
Mark Abraham [Thu, 6 Oct 2011 12:20:13 +0000 (23:20 +1100)]
Removed erroneous use of MASSV on BlueGene

MASSV does not provide BLAS or LAPACK (indeed, there is no standard
version for BlueGene), and is not useful otherwise. So it was erroneous
to require BLAS and LAPACK, and not helpful to link to MASSV.

Change-Id: I9b82875e9c6b02800e1ec6330f2a9006a563719d

12 years agoFixes for GB kernel
Mark Abraham [Mon, 23 Nov 2009 02:17:06 +0000 (15:17 +1300)]
Fixes for GB kernel

Change-Id: I9108b02d032b6c7779c1d88b60e84a6e35e2025e

12 years agoOnly create group if part of load communicator and thus the group is not empty
Roland Schulz [Tue, 4 Oct 2011 07:56:22 +0000 (03:56 -0400)]
Only create group if part of load communicator and thus the group is not empty

Unnessary groups are a problem if maximum number of group is limited (e.g. scalasca)

Change-Id: I2daca6414e82cca8d64d3dd5c08c6ae0060d07dc

12 years agoRemoved duplicate CMake functionality
Mark Abraham [Fri, 30 Sep 2011 08:01:04 +0000 (18:01 +1000)]
Removed duplicate CMake functionality

The FindXXX modules that I have removed are found in standard CMake
2.8.2, so we don't need to duplicate them if we choose to have a
similar minimum requirement for CMake. So far, I've arbitrarily chosen
2.8.0 as a compromise between modernity and widespread adoption.
See discussion in Redmine issue #815.

The logic for the work-around for Cray MPI is now in CMakeLists.txt

The test for the Git version has also moved into CMakeLists.txt

We had a minor change in the LibXml2 module that catered to some
weird/broken CMake environment Teemu had, but it looks to be
unnecessary for modern CMake.

The LAPACK find module is nearly the same as standard, apart from a
bug fix that we have found and reported upstream. So we have to
keep the duplicated code.

Change-Id: If312671392f9b77c0007c761ccb37688bcfc13b3

12 years agoAdded tip for converting .xpm to something useful
Mark Abraham [Tue, 27 Sep 2011 23:47:36 +0000 (09:47 +1000)]
Added tip for converting .xpm to something useful

Originally provided by Justin Lemkul on gmx-users.

Change-Id: I92e0d17095dca5a738dbb3188067d4394742e653

12 years agoRemoved autotools and references to them.
Mark Abraham [Wed, 21 Sep 2011 15:22:23 +0000 (01:22 +1000)]
Removed autotools and references to them.

A stub remains in bootstrap to prompt developers to go and use CMake.

Change-Id: I913677b32838c70ff9908bbb0ef110f2524061cd

12 years agoMerge "Removed CMake warning for recent OpenMPI versions" into release-4-5-patches
Rossen Apostolov [Tue, 27 Sep 2011 00:13:59 +0000 (02:13 +0200)]
Merge "Removed CMake warning for recent OpenMPI versions" into release-4-5-patches

12 years agoDropped some hints in the documentation
Mark Abraham [Mon, 26 Sep 2011 14:37:44 +0000 (00:37 +1000)]
Dropped some hints in the documentation

Users should collect data more often than the time scale of the
autocorrelation, actually save velocities for computing velocity
ACF, and trjconv -ur compact is useful for rhombic dodecahedra.

Change-Id: I9c59b3798dbb8d86b862859bf8f217b12d33906a

12 years agoRemoved CMake warning for recent OpenMPI versions
Mark Abraham [Mon, 26 Sep 2011 08:09:45 +0000 (18:09 +1000)]
Removed CMake warning for recent OpenMPI versions

OpenMPI 1.4.1 and higher are fine for GROMACS, so we do not need to
warn the user about them. This patch tests the MPI found and
informs the user as necessary.

Change-Id: I98ff5e46a3fa2e09915c699a67d47f0637cb3992

12 years agoMinor house-keeping
Mark Abraham [Wed, 21 Sep 2011 15:25:41 +0000 (01:25 +1000)]
Minor house-keeping

Change-Id: I405d32cfffd53d9441eaede6fa2964e16ed1fadd

12 years agoUpdated version: now 4.6
Rossen Apostolov [Wed, 21 Sep 2011 12:55:56 +0000 (14:55 +0200)]
Updated version: now 4.6

Change-Id: I309ddac1ba41c8c2bfe9c8880848c061c384720c

12 years agoCommented out part of this new program that was not yet validated, in order to proten...
David van der Spoel [Wed, 21 Sep 2011 09:03:07 +0000 (11:03 +0200)]
Commented out part of this new program that was not yet validated, in order to protent users from incorrect results.

Change-Id: I02a0065205aae881438c15c9aec9dae722b23206

12 years agoFixed documentation issue described in redmine issue 681. Added warning line to termi...
David van der Spoel [Wed, 21 Sep 2011 07:02:20 +0000 (09:02 +0200)]
Fixed documentation issue described in redmine issue 681. Added warning line to terminal output about interpretation of results.

Change-Id: I494596d5259038c96d9aad395089434520cad5c0

12 years agoFixed documentation issue described in redmine issue 681.
David van der Spoel [Wed, 21 Sep 2011 06:56:46 +0000 (08:56 +0200)]
Fixed documentation issue described in redmine issue 681.
Added warning line to terminal output about interpretation of results.

Change-Id: I92fdc8a1a641b7db534b0da1f483ecdcb5592b6b

12 years agoNew release: 4.5.5
Rossen Apostolov [Tue, 20 Sep 2011 07:01:42 +0000 (09:01 +0200)]
New release: 4.5.5

Change-Id: I6130c171c98c187ec233ee9910cf072cef00ce47

12 years agoFixed typos in documentation.
Justin A. Lemkul [Mon, 19 Sep 2011 21:15:27 +0000 (17:15 -0400)]
Fixed typos in documentation.

IssueID #814

Change-Id: If05a4a47509ad087c8de41305666324287e7a70a

12 years agoC89 fixes.
Sander Pronk [Mon, 19 Sep 2011 15:51:31 +0000 (17:51 +0200)]
C89 fixes.

Change-Id: I04bfe69d1e97ae7b3160209a68421c9f88468177