Skip to content

Commit 2256e5d

Browse files
committed
Replaced exit error code for doublets,quartets, and high spin systems with a warning so they can be tested
1 parent f4fec3a commit 2256e5d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

env.set.local0

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#! Other systems may require different paths.
55

66
# NVHPC 20.7-21.9, and SDK 24.9-24.11 (and respective openmpi versions) have been found to successfully compile.
7-
module load nvidia-sdk
7+
module load nvidia-sdk/25.5
88

99
# Cmake 3.15 and above is required.
1010
module load cmake

src/libio/read.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2468,15 +2468,16 @@ int read_input(string filename, bool gbasis, vector<vector<double> >& basis, vec
24682468
if (nup==1) nup = 0;
24692469
else if (nup==3) nup = 1;
24702470
else if (nup==5) nup = 2;
2471+
else if (nup==7) nup = 3;
24712472
else if (nup==2 || nup==4)
24722473
{
2473-
printf(" ERROR: doublet/quartet not available \n");
2474-
exit(1);
2474+
printf(" Warning: doublet/quartet may not be fully developed, carefully check results \n");
2475+
//exit(1);
24752476
}
24762477
else if (nup>5)
24772478
{
2478-
printf(" ERROR: spin>5 not available \n");
2479-
exit(1);
2479+
printf(" ERROR: spin>5 may not be fully developed, carefully check results \n");
2480+
//exit(1);
24802481
}
24812482
}
24822483
if (tok_line.size()>3) natoms++;

0 commit comments

Comments
 (0)