Skip to content

Commit 3d6f560

Browse files
authored
Merge pull request #2 from zfalls/release9
r9
2 parents 437294a + 5614803 commit 3d6f560

File tree

6 files changed

+60
-30
lines changed

6 files changed

+60
-30
lines changed

AUTHORS

Lines changed: 0 additions & 15 deletions
This file was deleted.

ChangeLogs/ChangeLog.r9

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
* Enhancements / New features:
2+
** Added support for the LSF and LoadLeveler queuing systems.
3+
** Added support for the SIESTA program package.
4+
** Incorporated the XtalComp library for duplicate structure removal (niching).
5+
** Added the "mitosis" function, which increases the local order of structures in the initial generation by replicating a unit cell to create a supercell for constructing the starting structure.
6+
** Customizable polling interval for updating remote queue information.
7+
** Automatic removal of remote working files (optional).
8+
** Optional removal of unnecessary files for VASP calculations.
9+
** Option to rank all current structures and export structures to a new subdirectory as .cml, CONTCAR, or .got.
10+
** New option to replace a failing structure with a new offspring.
11+
** Ability to “inject” (seed) a structure mid-run.
12+
** Minimum atomic separation now specified as a fraction of the sum of atomic radii, with a hard minimum.
13+
** Set a final number of structures to be generated before termination of the search.
14+
** Changing the minimum and maximum cell vectors now directly influences the minimum and maximum volume for the cell.
15+
16+
* Bug fixes:
17+
** Numerous misc bug-fixes.
18+
19+
* Documentation:
20+
** New program website
21+
- http://xtalopt.github.io/
22+
** New landing page for user tutorials
23+
- http://xtalopt.github.io/tut.html
24+
** New landing page for user docs
25+
- http://xtalopt.github.io/api/html/annotated.html
26+
27+
* Maintenance:
28+
** More server-friendly method of fetching queue data.
29+
** Support for GULP shell/core calculations added.
30+
** Submission of remote calculations is throttled to ease DRMS load.
31+
** Fix compilation against Qt 4.6.3 and 4.8.0.
32+
** Bundled libssh library removed, now an optional dependency.
33+
** Added option to use command-line ssh/scp interfaces when libssh is unavailable or Kerberos authentication is needed.

INSTALL

Lines changed: 0 additions & 7 deletions
This file was deleted.

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
XtalOpt
1+
XtalOpt - r9
22
=========
33

44
XtalOpt searches for the global minimum of a crystal structure's
@@ -20,3 +20,22 @@ http://xtalopt.github.io/tut.html
2020
#License
2121

2222
GPL v2 or later. See COPYING.
23+
24+
#Authors
25+
26+
All contributors, in alphabetical order:
27+
28+
- Patrick Avery <[email protected]>
29+
- Zackary Falls <[email protected]>
30+
- David Lonie <[email protected]>
31+
32+
33+
=========
34+
Included sources from various projects are found under:
35+
36+
- src/spglib http://spglib.sourceforge.net/
37+
- src/libssh http://www.libssh.org/
38+
39+
These files, other than some minor modifications for interoperability
40+
with XtalOpt/libglobalsearch, are the works of the copyright holders
41+
specified in the source files.

src/globalsearch/sshconnection_libssh.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ bool SSHConnectionLibSSH::isConnected()
7979

8080
// Set a three timeout, check every 50 ms for new data.
8181
int bytesAvail;
82-
int timeout = 3000;
82+
int timeout = 15000;
8383
do {
8484
// Poll for number of bytes available
8585
bytesAvail = channel_poll(m_shell, 0);
@@ -117,7 +117,7 @@ bool SSHConnectionLibSSH::isConnected()
117117
0)) > 0) {
118118
ossout.write(buffer,len);
119119
// Poll for number of bytes available using a 1 second timeout in case the stack is full.
120-
timeout = 1000;
120+
timeout = 10000;
121121
do {
122122
bytesAvail = channel_poll(m_shell, 0);
123123
if (bytesAvail == SSH_ERROR) {
@@ -155,7 +155,7 @@ bool SSHConnectionLibSSH::isConnected()
155155
int exitcode;
156156
// Set a timeout of 1 seconds and check every 50 ms. It takes execute a litte
157157
// bit of time to work, so 1 second will end up being a few seconds...
158-
int timeout = 1000;
158+
int timeout = 10000;
159159
bool success;
160160
bool printWarning = false;
161161
do {
@@ -225,7 +225,7 @@ bool SSHConnectionLibSSH::connectSession(bool throwExceptions)
225225
int verbosity = SSH_LOG_NOLOG;
226226
//int verbosity = SSH_LOG_PROTOCOL;
227227
//int verbosity = SSH_LOG_PACKET;
228-
int timeout = 5; // timeout in sec
228+
int timeout = 15; // timeout in sec
229229

230230
ssh_options_set(m_session, SSH_OPTIONS_HOST, m_host.toStdString().c_str());
231231
ssh_options_set(m_session, SSH_OPTIONS_LOG_VERBOSITY, &verbosity);
@@ -448,7 +448,7 @@ bool SSHConnectionLibSSH::_execute(const QString &command,
448448
channel_close(channel);
449449

450450
// 5 second timeout
451-
int timeout = 5;
451+
int timeout = 15;
452452
while (channel_get_exit_status(channel) == -1 && timeout >= 0) {
453453
qDebug() << "Waiting for server to close channel...";
454454
GS_SLEEP(1);
@@ -1060,7 +1060,7 @@ bool SSHConnectionLibSSH::addKeyToKnownHosts(const QString &host, unsigned int p
10601060

10611061
// Set options
10621062
int verbosity = SSH_LOG_NOLOG;
1063-
int timeout = 5; // timeout in sec
1063+
int timeout = 15; // timeout in sec
10641064

10651065
ssh_options_set(session, SSH_OPTIONS_HOST, host.toStdString().c_str());
10661066
ssh_options_set(session, SSH_OPTIONS_LOG_VERBOSITY, &verbosity);

src/xtalopt/xtalopt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ namespace XtalOpt {
695695
.arg(locpath_s));
696696
}
697697
}
698-
xtal->moveToThread(m_tracker->thread());
698+
// xtal->moveToThread(m_tracker->thread());
699699
xtal->setupConnections();
700700
xtal->setFileName(locpath_s);
701701
xtal->setRempath(rempath_s);

0 commit comments

Comments
 (0)