endif()
set(GMX_VERSION_STRING "${GMX_VERSION}${GMX_VERSION_SUFFIX}")
-set(REGRESSIONTEST_BRANCH "release-2021")
+ set(REGRESSIONTEST_VERSION "${GMX_VERSION_STRING}")
++set(REGRESSIONTEST_BRANCH "master")
+ # Run the regressiontests packaging job with the correct pakage
+ # version string, and the release box checked, in order to have it
+ # build the regressiontests tarball with all the right naming. The
+ # naming affects the md5sum that has to go here, and if it isn't right
+ # release workflow will report a failure.
+ set(REGRESSIONTEST_MD5SUM "93956ea42c4d16fdd541518c05972989" CACHE INTERNAL "MD5 sum of the regressiontests tarball for this GROMACS version")
+
# If you are making a custom fork of GROMACS, please describe your
# fork, perhaps with its version number, in the value of
# GMX_VERSION_STRING_OF_FORK here. This string will appear in the
* \tparam[in] atomsPerBlock Number of atoms processed by a block - should be accounted for
* in the sizes of the shared memory arrays.
* \tparam[in] atomsPerWarp Number of atoms processed by a warp
- * \tparam[in] writeSmDtheta Bool controlling if the theta derivative should be written to shared memory. Enables calculation of dtheta if set.
- * \tparam[in] writeGlobal A boolean which tells if the theta values and gridlines should be written to global memory. Enables calculation of dtheta if set.
- * \tparam[in] writeSmDtheta Bool controling if the theta derivative should be written to
++ * \tparam[in] writeSmDtheta Bool controlling if the theta derivative should be written to
+ * shared memory. Enables calculation of dtheta if set.
+ * \tparam[in] writeGlobal A boolean which tells if the theta values and gridlines should
+ * be written to global memory. Enables calculation of dtheta if
+ * set.
+ * \tparam[in] numGrids The number of grids using the splines.
* \param[in] kernelParams Input PME CUDA data in constant memory.
* \param[in] atomIndexOffset Starting atom index for the execution block w.r.t. global memory.
* \param[in] atomX Atom coordinate of atom processed by thread.
PmeTestHardwareContext::PmeTestHardwareContext() : codePath_(CodePath::CPU) {}
PmeTestHardwareContext::PmeTestHardwareContext(TestDevice* testDevice) :
- codePath_(CodePath::CPU), testDevice_(testDevice)
- codePath_(CodePath::GPU),
- testDevice_(testDevice)
++ codePath_(CodePath::GPU), testDevice_(testDevice)
{
setActiveDevice(testDevice_->deviceInfo());
pmeGpuProgram_ = buildPmeGpuProgram(testDevice_->deviceContext());
bsMethod_trajGauss
};
- //! Parameters of one pull coodinate
+ //! Parameters of one pull coordinate
typedef struct
{
- int pull_type; //!< such as constraint, umbrella, ...
- int geometry; //!< such as distance, direction, cylinder
- int ngroup; //!< the number of pull groups involved
- ivec dim; //!< pull dimension with geometry distance
- int ndim; //!< nr of pull_dim != 0
- real k; //!< force constants in tpr file
- real init_dist; //!< reference displacement
- char coord_unit[256]; //!< unit of the displacement
+ PullingAlgorithm pull_type; //!< such as constraint, umbrella, ...
+ PullGroupGeometry geometry; //!< such as distance, direction, cylinder
+ int ngroup; //!< the number of pull groups involved
+ ivec dim; //!< pull dimension with geometry distance
+ int ndim; //!< nr of pull_dim != 0
+ real k; //!< force constants in tpr file
+ real init_dist; //!< reference displacement
+ char coord_unit[256]; //!< unit of the displacement
} t_pullcoord;
//! Parameters of the umbrella potentials
gmx_fatal(FARGS,
"%s: Pull coordinate %d is of type \"%s\", expected \"umbrella\". Only "
"umbrella coodinates can enter WHAM.\n"
- "If you have umrella and non-umbrella coordinates, you can select the "
+ "If you have umbrella and non-umbrella coordinates, you can select the "
"umbrella coordinates with gmx wham -is\n",
- fn, i + 1, epull_names[header->pcrd[i].pull_type]);
+ fn,
+ i + 1,
+ enumValueToString(header->pcrd[i].pull_type));
}
if (!geometryIsSet)
{
break;
default:
gmx_fatal(FARGS,
- "Didnt find a case for directive %s in read_vsite_database\n",
- "Didn't find a case for directive %s in read_vsite_database\n", dirstr);
++ "Didn't find a case for directive %s in read_vsite_database\n",
+ dirstr);
}
}
}
set_warning_line(wi, mdparin, -1);
- if (allTrue(haveAbsoluteReference(*ir)) && allTrue(havePositionRestraints(*sys)))
- if (ir->comm_mode != ecmNO && allTrue(havePositionRestraints(*sys)))
++ if (ir->comm_mode != ComRemovalAlgorithm::No && allTrue(havePositionRestraints(*sys)))
{
warning_note(wi,
"Removing center of mass motion in the presence of position restraints might "
// the supported one, but AVX128Fma is an exception: AMD CPUs will (strongly) prefer
// AVX128Fma, but they will work fine with AVX too. Thus, make an exception for this.
logMsg = wrapper.wrapToString(
- formatString("Highest SIMD level requested by all nodes in run: %s\n"
+ formatString("Highest SIMD level supported by all nodes in run: %s\n"
"SIMD instructions selected at compile time: %s\n"
- "Compiled SIMD newer than requested; program might crash.",
+ "Compiled SIMD newer than supported; program might crash.",
- simdString(wanted).c_str(), simdString(compiled).c_str()));
+ simdString(wanted).c_str(),
+ simdString(compiled).c_str()));
warnMsg = logMsg;
}
else if (wanted != compiled)