alexxy/gromacs.git
12 years agoMerge "Improved pdb2gmx error message" into release-4-5-patches
David van der Spoel [Mon, 2 Apr 2012 18:02:36 +0000 (20:02 +0200)]
Merge "Improved pdb2gmx error message" into release-4-5-patches

12 years agoImproved pdb2gmx error message
Mark Abraham [Mon, 2 Apr 2012 07:04:45 +0000 (17:04 +1000)]
Improved pdb2gmx error message

Increased the extent to which pdb2gmx makes use of the encapsulation
available with the t_atoms struct. Now the function that writes the
error message has an easier time being more descriptive of what
is wrong when the atoms in the input coordinate file do not match
those of the .rtp entry.

Change-Id: Ie39dea18efa358f90decad6491ddc04e3756ac39

12 years agoKeep CMake quiet about a Cygwin issue
Mark Abraham [Mon, 2 Apr 2012 06:56:54 +0000 (16:56 +1000)]
Keep CMake quiet about a Cygwin issue

The CMake warning that is suppressed by this does not affect GROMACS
builds.

Change-Id: I6a19f55868b6363cb2be328286b4716659cc270b

12 years agoadded correction for PME virial with non-linear virtual sites
Berk Hess [Tue, 27 Mar 2012 11:35:13 +0000 (13:35 +0200)]
added correction for PME virial with non-linear virtual sites

With non-linear virtual site constructs the virial nees to be corrected
when it is not calculated from the particle coordinates and masses.
Currently this is only a problem for the PME mesh contribution.
This would lead to an incorrect virial and pressure. The error was small
for unordered systems, but could be significant for e.g. an all-atom
bilayer with hydrogens replaced by virtual sites. Fixes #908

Change-Id: I27a06019aa09734a14f3630ef296aaaacb9c5f0b

12 years agofixed g_bar xvg reading issue
Berk Hess [Fri, 23 Mar 2012 13:58:36 +0000 (14:58 +0100)]
fixed g_bar xvg reading issue

Due to a comparison between temperatures in single and double precision
g_bar could give a fatal error when processing xvg files.

Change-Id: Ie63187261b3f20f8e241bf606cc9f23fdd93ec2b

12 years agoMerge "Warnings against equilibrating with P-R P-coupling" into release-4-5-patches
Christoph Junghans [Sun, 18 Mar 2012 20:06:35 +0000 (21:06 +0100)]
Merge "Warnings against equilibrating with P-R P-coupling" into release-4-5-patches

12 years agoMerge "Fix typo in Clang CFlags" into release-4-5-patches
David van der Spoel [Sun, 18 Mar 2012 11:30:31 +0000 (12:30 +0100)]
Merge "Fix typo in Clang CFlags" into release-4-5-patches

12 years agoWarnings against equilibrating with P-R P-coupling
Mark Abraham [Wed, 14 Mar 2012 12:38:12 +0000 (23:38 +1100)]
Warnings against equilibrating with P-R P-coupling

Hopefully this will inhibit some people from doing Parrinello-Rahman
pressure coupling during their equilibration stage. If there's a
legitimate reason for P-R to have volume changes greater than 1%
we can reconsider the verbosity and/or frequency of the warning.

Change-Id: Icaeafa2fad37dfaa4b63ba69be3a3f804d957e7c

12 years agofixed increasing memory usage with SHAKE and DD
Berk Hess [Sat, 17 Mar 2012 20:46:06 +0000 (21:46 +0100)]
fixed increasing memory usage with SHAKE and DD

With domain decompostion SHAKE would be reinitialized every DD step.
This is now only done at initialization. Fixes #899

Change-Id: I4bcb162fa97271f602c5733ba04c7314456fcfa4

12 years agoMerge "Clarified wording of documentation" into release-4-5-patches
Christoph Junghans [Thu, 15 Mar 2012 21:10:25 +0000 (22:10 +0100)]
Merge "Clarified wording of documentation" into release-4-5-patches

12 years agoClarified wording of documentation
Mark Abraham [Thu, 15 Mar 2012 01:27:06 +0000 (12:27 +1100)]
Clarified wording of documentation

Change-Id: I16df3e9db672f86396a22479563dc394035af5ce

12 years agoChanged cryptic error messages about disk quota
Mark Abraham [Wed, 14 Mar 2012 06:08:20 +0000 (17:08 +1100)]
Changed cryptic error messages about disk quota

People who have never had a disk quota don't understand what "out
of quota" could possibly mean. They understand running out of
disk space much more often.

Change-Id: I988cd038e74cf4e914075a748f9f66038ab37882

12 years agoMerge "More editorial fixes to tool documentation" into release-4-5-patches
Christoph Junghans [Mon, 12 Mar 2012 17:03:22 +0000 (18:03 +0100)]
Merge "More editorial fixes to tool documentation" into release-4-5-patches

12 years agoMerge "Made description string for g_select -select clearer" into release-4-5-patches
Teemu Murtola [Mon, 12 Mar 2012 09:36:48 +0000 (10:36 +0100)]
Merge "Made description string for g_select -select clearer" into release-4-5-patches

12 years agoFix typo in Clang CFlags
Roland Schulz [Sat, 10 Mar 2012 00:30:16 +0000 (19:30 -0500)]
Fix typo in Clang CFlags

Change-Id: I4b03e585fd3f6f5d256478feef5038b2d7d13cba

12 years agoMerge "Improved cryptic error message" into release-4-5-patches
David van der Spoel [Fri, 9 Mar 2012 16:25:22 +0000 (17:25 +0100)]
Merge "Improved cryptic error message" into release-4-5-patches

12 years agoMerge "Improved warning note with DD and periodic molecules" into release-4-5-patches
Carsten Kutzner [Fri, 9 Mar 2012 09:10:17 +0000 (10:10 +0100)]
Merge "Improved warning note with DD and periodic molecules" into release-4-5-patches

12 years agoMore editorial fixes to tool documentation
Mark Abraham [Fri, 9 Mar 2012 06:03:47 +0000 (17:03 +1100)]
More editorial fixes to tool documentation

Needed to add better treatment of <averages> and
|magnitudes| for LaTeX versions.

Change-Id: I5e8e3a8d685715af38117a762327d41a8bedf391

12 years agoEditorial changes to tools documentation
Mark Abraham [Fri, 9 Mar 2012 02:22:22 +0000 (13:22 +1100)]
Editorial changes to tools documentation

Made LaTeX type-setting of maths in documentation of tools more
sophisticated, without changing the presentation of maths in
plain text mode.

Various spelling and typographical fixes also.

Change-Id: Ia0c13e1f2ba825911c6e0673af6b940aba9efa21

12 years agoImproved warning note with DD and periodic molecules
Mark Abraham [Thu, 8 Mar 2012 22:10:51 +0000 (09:10 +1100)]
Improved warning note with DD and periodic molecules

Change-Id: I3f7f201edcce1b70a360d0462e5103dfc144b2d7

12 years agoMade description string for g_select -select clearer
Mark Abraham [Thu, 8 Mar 2012 22:07:53 +0000 (09:07 +1100)]
Made description string for g_select -select clearer

New UNIX users wouldn't guess they had to enclose the selection
string in quotes to get around their shell.

Change-Id: I8dd7fdd237e4290ad830a168b4880739aa5dc425

12 years agoImproved cryptic error message
Mark Abraham [Thu, 8 Mar 2012 22:04:35 +0000 (09:04 +1100)]
Improved cryptic error message

Change-Id: Idd3f7a9ce36e155c61009b16da9a1f2b1a98e93e

12 years agoMerge "Minimal support for Clang" into release-4-5-patches
David van der Spoel [Thu, 8 Mar 2012 07:28:30 +0000 (08:28 +0100)]
Merge "Minimal support for Clang" into release-4-5-patches

12 years agofixed g_anaeig incorrect multiple extremes, fixes #870
Berk Hess [Mon, 5 Mar 2012 11:18:58 +0000 (12:18 +0100)]
fixed g_anaeig incorrect multiple extremes, fixes #870

Change-Id: Id06f267c1da300f2a940778833ec35b85fecd3f1

12 years agoadded check for mass-weighting with g_anaeig -entropy, fixes #785
Berk Hess [Mon, 5 Mar 2012 10:57:22 +0000 (11:57 +0100)]
added check for mass-weighting with g_anaeig -entropy, fixes #785

Change-Id: I7a1623ba7a7c7987078901876fb4717d8c0a7261

12 years agoremoved initial temperature with OpenMM, fixes #757
Berk Hess [Mon, 5 Mar 2012 10:43:48 +0000 (11:43 +0100)]
removed initial temperature with OpenMM, fixes #757

Change-Id: Ifc661ce3ece3dfcd2e4bad862392b96d64e70c18

12 years agoMinimal support for Clang
Roland Schulz [Sat, 3 Mar 2012 20:16:03 +0000 (15:16 -0500)]
Minimal support for Clang

Change-Id: I4c6fb22ef8b5d596527eb8fe0991c3c573be606c

12 years agofixed array index out of bounds in EM force trr storage
Berk Hess [Mon, 27 Feb 2012 14:05:25 +0000 (15:05 +0100)]
fixed array index out of bounds in EM force trr storage

The partially implemented force copy was a leftover from a different way
of copying, which should never have been committed.

Change-Id: I026aa79158afcc327185f2f0cf6167d040eccede

12 years agoMerge "Minor formatting fixes to .mdp option documentation" into release-4-5-patches
David van der Spoel [Sat, 25 Feb 2012 13:36:54 +0000 (14:36 +0100)]
Merge "Minor formatting fixes to .mdp option documentation" into release-4-5-patches

12 years agoMinor formatting fixes to .mdp option documentation
Mark Abraham [Fri, 24 Feb 2012 00:29:21 +0000 (11:29 +1100)]
Minor formatting fixes to .mdp option documentation

Change-Id: I71762463880e4cb650f680a2ed83125e450f003a

12 years agoFix pdb2gmx -cmap in corner cases
Mark Abraham [Tue, 21 Feb 2012 06:03:39 +0000 (17:03 +1100)]
Fix pdb2gmx -cmap in corner cases

CMAP torsions are only generated when the atoms are from the same chain
(pdb2gmx -merge allows multiple chains to be present in the
moleculetype), and their residues are in residuetypes.dat as
"Protein".

Fixes #800, #885

Change-Id: Idc4f9a867beedc0be6a4c153606c0731eec86f5f

12 years agoFixed ABI warning for thread_mpi on gcc 4.6 for x86.
Sander Pronk [Wed, 22 Feb 2012 08:01:19 +0000 (09:01 +0100)]
Fixed ABI warning for thread_mpi on gcc 4.6 for x86.

Atomic operation data structures are now padded to the size of a cache
line instead of aligned to the start of a cache line. This works just
as well, but eliminates a warning in gcc 4.6.

Change-Id: I8d00778dcfea41cdb518b083a9c0732e8d978c66

12 years agoMerge "Use Git server (mirror) to avoid fetching problems" into release-4-5-patches
Teemu Murtola [Tue, 21 Feb 2012 18:52:10 +0000 (19:52 +0100)]
Merge "Use Git server (mirror) to avoid fetching problems" into release-4-5-patches

12 years agoUse Git server (mirror) to avoid fetching problems
Roland Schulz [Tue, 21 Feb 2012 04:37:26 +0000 (23:37 -0500)]
Use Git server (mirror) to avoid fetching problems

Change-Id: I144082bd01cf6a5f0583feac0e7877e8e1b163ff

12 years agoFixed an allocation issue with dH histograms.
Sander Pronk [Mon, 13 Feb 2012 17:28:56 +0000 (18:28 +0100)]
Fixed an allocation issue with dH histograms.

Change-Id: Ifc6ed94d77664e3b3afb7fe8dbd1016444d86bc3

12 years agoMerge changes If0c2f9d9,Ic2a8ad82 into release-4-5-patches
Szilárd Páll [Sat, 11 Feb 2012 16:45:25 +0000 (17:45 +0100)]
Merge changes If0c2f9d9,Ic2a8ad82 into release-4-5-patches

* changes:
  Fixed g_sham using more than three dimensions
  Integer multiplication that checks for overflow

12 years agoFixed g_sham using more than three dimensions
Mark Abraham [Thu, 9 Feb 2012 02:48:35 +0000 (13:48 +1100)]
Fixed g_sham using more than three dimensions

When the value given with g_sham -n was greater than 3, arrays used to
overflow and pick_minima() did not work. pick_minima() has been updated
to treat an arbitrary number of dimensions, but retains the particular
code for the two- and three-dimensional cases in the hope that these
are faster. The logic of the complex conditionals has hopefully been
made easier to follow without compromising performance with modern
compilers. Index variables are now of gmx_large_int_t type, as
high-dimensional cases can have large numbers of grid points very fast.

Change-Id: If0c2f9d9ceaf2b5c4c8b1a28a942fae8349fb600

12 years agoInteger multiplication that checks for overflow
Mark Abraham [Fri, 10 Feb 2012 04:10:34 +0000 (15:10 +1100)]
Integer multiplication that checks for overflow

Integer multiplication overflows silently in C, and sometimes we need to
know when it would. For example, when computing the size of
multi-dimensional arrays, we can need to manage the case when the number
of dimensions and their size is too large to represent in the available
type.

Change-Id: Ic2a8ad820838cf314bb985511e483fc397ba35e2

12 years agoMerge "Fixed bug with COM motion removal on part of the system" into release-4-5...
Christoph Junghans [Fri, 10 Feb 2012 01:14:01 +0000 (02:14 +0100)]
Merge "Fixed bug with COM motion removal on part of the system" into release-4-5-patches

12 years agoFixed bug with COM motion removal on part of the system
Berk Hess [Mon, 6 Feb 2012 18:57:50 +0000 (19:57 +0100)]
Fixed bug with COM motion removal on part of the system

Center of mass motion removal on one group (not multiple) which is only part
of system would result in a tpr file with COM removal on the whole system.
Fixes #881

Change-Id: I181427bcad237045060000908f2c28d6e97c1ea4

12 years agoFix ICC on Windows Build
Roland Schulz [Sat, 4 Feb 2012 20:18:24 +0000 (15:18 -0500)]
Fix ICC on Windows Build

Fix NASM with NMake Generator

The workaround in parser.y may not be necessary any longer when this is
merged into master.

Change-Id: I810eec3fa4a13fd912da3832279e8ab47a62bdec

12 years agoMerge "Append all ICC Performance flags only to Release Flags" into release-4-5-patches
Szilárd Páll [Thu, 2 Feb 2012 23:04:07 +0000 (00:04 +0100)]
Merge "Append all ICC Performance flags only to Release Flags" into release-4-5-patches

12 years agoMerge "Revert "Fix ICC on Windows Build"" into release-4-5-patches
Teemu Murtola [Thu, 2 Feb 2012 16:10:18 +0000 (17:10 +0100)]
Merge "Revert "Fix ICC on Windows Build"" into release-4-5-patches

12 years agoMerge "Fixed error message to identify the correct file" into release-4-5-patches
David van der Spoel [Wed, 1 Feb 2012 08:10:58 +0000 (09:10 +0100)]
Merge "Fixed error message to identify the correct file" into release-4-5-patches

12 years agoMerge "Fixed trjconv -sub" into release-4-5-patches
David van der Spoel [Wed, 1 Feb 2012 07:58:54 +0000 (08:58 +0100)]
Merge "Fixed trjconv -sub" into release-4-5-patches

12 years agoMerge "Improved error message" into release-4-5-patches
David van der Spoel [Wed, 1 Feb 2012 07:57:14 +0000 (08:57 +0100)]
Merge "Improved error message" into release-4-5-patches

12 years agoFixed trjconv -sub
Mark Abraham [Wed, 1 Feb 2012 05:57:08 +0000 (16:57 +1100)]
Fixed trjconv -sub

If the index group contains 1..100, then clust->maxframe == 99,
and thus when frame == clust->maxframe it should be included
in the cluster.

Change-Id: I6e093d9f76d0952b31ea9ee1516bade9e9b4419b

12 years agoFixed error message to identify the correct file
Mark Abraham [Wed, 1 Feb 2012 04:45:41 +0000 (15:45 +1100)]
Fixed error message to identify the correct file

When a frame exists, that file has *not* run out of frames.

Change-Id: Ief52d5a17ef73ab318f6d8e00d1f5acb71b69f52

12 years agoMerge "Fix signed/unsigned warnings" into release-4-5-patches
Christoph Junghans [Wed, 1 Feb 2012 04:52:29 +0000 (05:52 +0100)]
Merge "Fix signed/unsigned warnings" into release-4-5-patches

12 years agoImproved error message
Mark Abraham [Tue, 31 Jan 2012 13:43:18 +0000 (00:43 +1100)]
Improved error message

Users would be confused by "Atom N3 is used in an interaction of
type atom in the topology database..." so when "atom" is the
bondtype we don't mention the fact.

Also changed variable name from bDontQuit to bAllowMissing for
consistency with variable names used in pdb2gmx when calling
this code.

Change-Id: Ie8cb3ba64f39d3746b470fa6ae44f5a6f4b6a16c

12 years agoRevert "Fix ICC on Windows Build"
Roland Schulz [Tue, 31 Jan 2012 23:47:52 +0000 (00:47 +0100)]
Revert "Fix ICC on Windows Build"

This reverts commit e8e495fe4317c2e489acb4e82e004afdac618e92

12 years agoAppend all ICC Performance flags only to Release Flags
Roland Schulz [Tue, 31 Jan 2012 11:01:29 +0000 (06:01 -0500)]
Append all ICC Performance flags only to Release Flags

Some of the ICC performance flags were appended to GMXC_CFLAGS
and thus also used e.g. for Debug.

Change-Id: Iadfaa29fb347f24208e6f2406e0d1ad41f037804

12 years agoMerge "Fix ICC on Windows Build" into release-4-5-patches
David van der Spoel [Tue, 31 Jan 2012 18:38:42 +0000 (19:38 +0100)]
Merge "Fix ICC on Windows Build" into release-4-5-patches

12 years agoMerge "Corrected use of ?: in conditional" into release-4-5-patches
Mark Abraham [Tue, 31 Jan 2012 13:51:19 +0000 (14:51 +0100)]
Merge "Corrected use of ?: in conditional" into release-4-5-patches

12 years agoFix signed/unsigned warnings
Roland Schulz [Mon, 30 Jan 2012 07:34:03 +0000 (02:34 -0500)]
Fix signed/unsigned warnings

Change-Id: I3318f06f303a08068849d820381e99267543b4f5

12 years agoMade error message even more explicit
Mark Abraham [Tue, 31 Jan 2012 07:10:55 +0000 (18:10 +1100)]
Made error message even more explicit

Change-Id: Ib1f2e01ca24c5fb305fe220e34797d6991c3f080

12 years agoFix ICC on Windows Build
Roland Schulz [Mon, 30 Jan 2012 07:11:48 +0000 (02:11 -0500)]
Fix ICC on Windows Build

The workaround in parser.y may not be necessary any longer when this is
merged into master.

Change-Id: I48199b55ede5d786a69c41ab008ef3055101d3b0

12 years agoCorrected use of ?: in conditional
Mark Abraham [Tue, 31 Jan 2012 05:20:16 +0000 (16:20 +1100)]
Corrected use of ?: in conditional

Patch contributed by Matthew Zwier to fix the incorrect use of
precedence of ?: and != operators.

Fixes #872

Change-Id: Ie4bbc3cbdaf33fc0386d12c2e142a9c076c2e946

12 years agoMerge "New approach for GerritBuild script" into release-4-5-patches
Roland Schulz [Wed, 25 Jan 2012 18:36:49 +0000 (19:36 +0100)]
Merge "New approach for GerritBuild script" into release-4-5-patches

12 years agoMerge "Fixed timing measurements." into release-4-5-patches
David van der Spoel [Fri, 20 Jan 2012 08:15:33 +0000 (09:15 +0100)]
Merge "Fixed timing measurements." into release-4-5-patches

12 years agoNew approach for GerritBuild script
Roland Schulz [Wed, 18 Jan 2012 09:21:18 +0000 (04:21 -0500)]
New approach for GerritBuild script

- Allows to make changes to build in seperate RelEng repository
- Replaces Matrix view by a linear list of configurations

Change-Id: I7f5c76805836c4cd06527b949ab7ac68f27a31b5

12 years agoFixed timing measurements.
Szilard Pall [Mon, 16 Jan 2012 20:46:59 +0000 (21:46 +0100)]
Fixed timing measurements.

With the VV integrator, kinetic energy calculations are done before the
main MD loop. These should be excluded from the timing measurements.

Change-Id: Ib06b1154965735adc0ff2e20802f78d96ed6fca4

12 years agoThread affinity and x86 assembly fixes for thread_mpi
Sander Pronk [Mon, 16 Jan 2012 16:50:42 +0000 (17:50 +0100)]
Thread affinity and x86 assembly fixes for thread_mpi

set_affinity_np now fails silently (shouldn't do much on recent linux
systems, anyway)
x86 asm changes for llvm compatibility.

Change-Id: Id1e71d3e693bc39f5a5e84b0e949fb41c7b7d0e3

12 years agoMerge "Added CMake Toolchain file for BlueGene/P" into release-4-5-patches
Christoph Junghans [Sun, 15 Jan 2012 01:47:41 +0000 (02:47 +0100)]
Merge "Added CMake Toolchain file for BlueGene/P" into release-4-5-patches

12 years agoFixed use of isfinite and _isfinite
Mark Abraham [Wed, 4 Jan 2012 03:47:05 +0000 (14:47 +1100)]
Fixed use of isfinite and _isfinite

Implemented proper CMake tests for the above functionality.
Catered for MSVC idiosyncratic _finite() function. Removed
erroneous use of HAS_ISFINITE and HAS__ISFINITE.
Encapsulated the use of preprocessor directives into the new
gmx_isfinite() function so the programmer doesn't need to
know about the foregoing mess.

The previous versions resulted in unreachable code.

Change-Id: I7471388ed8f402c3f8b664e7846465de4b85f578

12 years agoMerge "Documented the function of g_cluster -cl -noav" into release-4-5-patches
Christoph Junghans [Wed, 4 Jan 2012 15:52:39 +0000 (16:52 +0100)]
Merge "Documented the function of g_cluster -cl -noav" into release-4-5-patches

12 years agoIntroduced fatal error in grompp for incorrect use of settle and charge groups.
David van der Spoel [Wed, 4 Jan 2012 09:58:22 +0000 (10:58 +0100)]
Introduced fatal error in grompp for incorrect use of settle and charge groups.

Change-Id: I02dfe3f3454a6fc329d9b5ecb2fd4b544c8d2cd1

12 years agoAdded CMake Toolchain file for BlueGene/P
Mark Abraham [Fri, 16 Dec 2011 04:02:52 +0000 (15:02 +1100)]
Added CMake Toolchain file for BlueGene/P

Change-Id: Iff9b5fe3cccc4d18fc252856a1b50ee64630b54a

12 years agoDocumented the function of g_cluster -cl -noav
Mark Abraham [Thu, 29 Dec 2011 22:39:34 +0000 (09:39 +1100)]
Documented the function of g_cluster -cl -noav

A definition was needed for the center of a cluster.

Change-Id: Id1c6d2f229feb27b7981c2d616e78e510d215a9a

12 years agoMerge "Added -dhdl to tpr file list, fixes #855" into release-4-5-patches
Roland Schulz [Tue, 27 Dec 2011 09:29:19 +0000 (10:29 +0100)]
Merge "Added -dhdl to tpr file list, fixes #855" into release-4-5-patches

12 years agoAdded -dhdl to tpr file list, fixes #855
Carsten Kutzner [Mon, 19 Dec 2011 14:42:29 +0000 (15:42 +0100)]
Added -dhdl to tpr file list, fixes #855

Change-Id: I2621c7bb44daa01e25831e2d44c22cdcf47f58e7

12 years agoMerge "Using MinSizeRel configuration and Release target on Windows" into release...
Roland Schulz [Tue, 20 Dec 2011 07:52:33 +0000 (08:52 +0100)]
Merge "Using MinSizeRel configuration and Release target on Windows" into release-4-5-patches

12 years agoMerge changes Iaf4c56b7,Ibabed87f into release-4-5-patches
Roland Schulz [Tue, 20 Dec 2011 07:52:06 +0000 (08:52 +0100)]
Merge changes Iaf4c56b7,Ibabed87f into release-4-5-patches

* changes:
  Testing external BLAS/LAPACK
  Using 2 cores per build on Windows

12 years agoSet GMX_*_ASM true if GMX_ACCELERATION != auto
Christoph Junghans [Mon, 19 Dec 2011 18:23:25 +0000 (11:23 -0700)]
Set GMX_*_ASM true if GMX_ACCELERATION != auto

In case GMX_ACCELERATION was set to SSE manually (like in Gentoo Linux)
GMX_*_ASM would never be set (false), so sse kernel will not be build.

Change-Id: Icf04707c6174a0182fe4472536b568e1d2d91166

12 years agoUsing MinSizeRel configuration and Release target on Windows
Roland Schulz [Thu, 15 Dec 2011 12:01:55 +0000 (07:01 -0500)]
Using MinSizeRel configuration and Release target on Windows

Faster build:
    no need to compute debug symbols
    dynamic library
    low optimization level

Also fixing MSVC warnings with this configuration

Change-Id: Ic87da40f1e78e2ac70ef543525b49f4cf1a3f639

12 years agoTesting external BLAS/LAPACK
Roland Schulz [Thu, 15 Dec 2011 08:20:17 +0000 (03:20 -0500)]
Testing external BLAS/LAPACK

Change-Id: Iaf4c56b7e62654425801cd8d3272c4028b016a2a

12 years agoUsing 2 cores per build on Windows
Roland Schulz [Thu, 15 Dec 2011 06:27:08 +0000 (01:27 -0500)]
Using 2 cores per build on Windows

Windows build is much slower than Linux build. Don't understand why
but hopefully using 2 cores will help narrow that gap.

Change-Id: Ibabed87f2f4d6c931fbb1ebd25c571be9a2cb9ee

12 years agoMerge "Re-fixed static linking of maths libraries under UNIX" into release-4-5-patches
Roland Schulz [Wed, 14 Dec 2011 01:49:28 +0000 (02:49 +0100)]
Merge "Re-fixed static linking of maths libraries under UNIX" into release-4-5-patches

12 years agoRe-fixed static linking of maths libraries under UNIX
Mark Abraham [Wed, 14 Dec 2011 01:10:26 +0000 (12:10 +1100)]
Re-fixed static linking of maths libraries under UNIX

In commit 5e51ffa9 I submitted a patch for the above case, and
suggested the same to CMake. The CMake developers have refined
this and I'm back-porting their fix here.

See http://public.kitware.com/Bug/view.php?id=12477 for details

Change-Id: Ib48bc6b5a87b66b51c893e24aa42e4cd4db32a38

12 years agoMerge "Relaxed some assumptions about trajectory times" into release-4-5-patches
Roland Schulz [Tue, 13 Dec 2011 02:04:29 +0000 (03:04 +0100)]
Merge "Relaxed some assumptions about trajectory times" into release-4-5-patches

12 years agoRelaxed some assumptions about trajectory times
Mark Abraham [Tue, 13 Dec 2011 00:04:04 +0000 (11:04 +1100)]
Relaxed some assumptions about trajectory times

Counting of dihedral transitions used to assume that each frame was
equally spaced in time. This is only necessary for making a
subsequent histogram of those transition times (unless more
elaborate machinery was written for that histogram).

Also documented what g_angle -ot and -oh do.

Change-Id: I587dba94c40a1a69e5aa227d09271166db055595

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 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 "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 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 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 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 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 "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 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 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