-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
number of threads -> 79 #48
Comments
@jincho1 Thanks a lot Jin for the explanation. We will look at why you got that 79 in your output, although we dont get such an output when we test. We will look at the SDF issue in the multithread mode. Please, for now, run MAYGEN in single-thread mode, so without -m option in default. @javadev Valentyn, please take a look at the SDF issue as soon as possible. |
We may collect the molecule block and write it once not line by line. It may help. |
@MehmetAzizYirik I prepared a fix #49 |
@jincho1 we already solved the issue regarding the number of threads and it is merged. Also the SDF generation issue is solved and merged to the main branch. It will be included in the future release. |
I downloaded MAYGEN-1.5.jar:
wget https://github.com/MehmetAzizYirik/MAYGEN/releases/download/V1.5/MAYGEN-1.5.jar
and ran like this:
java -jar MAYGEN-1.5.jar -f C2OH4 -v -t
MAYGEN is generating isomers of C2OH4...
The number of structures is: 3
Time: .015 seconds
C2OH4 3 .015 79
I ran the program in Linux release 7.9.2009
I also noticed that there is a problem with the sdf the program generates when I used a more complex formula
java -jar MAYGEN-1.5.jar -f C10H9N3 -v -t -d temp -m 10
I copy and pasted the problem area. It looks like each thread is writing to the file at the same time.
Molecule 2
MAYGEN 20210615
22 22 0 0 0 0 0 0 0999 V2000
Molecule 3
MAYGEN 20210615
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
22 22 0 0 0 0 0 0 0999 V2000
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
Molecule 6
MAYGEN 20210615
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
22 22 0 0 0 0 0 0 0999 V2000
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0000 0.0000 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
0.0000 0.0000 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0000 0.0000 0.0000 N 0 0 0 0 0 0 0 0 0 0 0 0
The text was updated successfully, but these errors were encountered: