-
Notifications
You must be signed in to change notification settings - Fork 36
Program hangs when running the make test example (waiting for GATPFit) #300
Comments
Thanks for posting this issue! We will look into this. For now, some questions:
|
Ah sorry, I should've been more specific. This is on a linux cluster (of which I'm not the admin) and the distribution is CentOS 6.3. Now the gfortran version is pretty old (4.4.6) so I'll contact the admin and ask him if he can upgrade the compiler. But is the GATPFit code changed in version 4 vs version 3.3? As it seems to work fine in version 3.3. I'm thinking maybe this is a named pipe problem? |
It's very likely (I can't remember the detailed timeline) that we changed the way RMG interacts with GATPFit between those two versions, so you will need to rebuild GATPFit when you upgrade RMG, even if the old one looked like it was working fine. There is no guarantee the Makefiles will take care of this correctly, so I'd advise you to delete it entirely and start again with the GATPFit (and other things, like DASSL etc) that comes with RMG 4. (Unless you tried that already?) |
Ah, yes. I didn't use anything from RMG 3.3 while compiling RMG 4. My question was a response to the comment about the compiler version. Sorry for the confusion. I did compiled RMG 4 from scratch (with GATPFit, etc). |
Looks very much like this problem, that was indeed GFortran's fault: |
Ok, thank you. I'll try to get the compiler upgraded. |
I had exactly the same issue at one point on our cluster and local jobs. |
I tried to run the example on the login node too but still the same problem. The $RMG environment variable is set properly, are there more of them? (if so I don't see any mention of them in the documentation). |
If you have a GATPfit input file (gatpfit/INPUT.txt from the failed test run?) you could try piping it into GATPfit.exe to see what happens. I think it should behave something like this:
has the output
|
Actually, it did not create an input file but I added a print statement in the GATPFit.java file so that it outputs the inputString before calling the program. This is the output: and running GATPFit.exe on it gives So then GATPFit seems to work. |
I've recently installed version 4 of RMG for one of our students, as she was using still using version 3.3. The installation completed successfully (but I had to remove some residual .mod files that were in the source folders). The problem comes when running the example through the "make test" command.
The program hangs just after the "Reading Lennard-Jones database from (...)" line. When I kill it the error:
^CERROR: jing.chem.GATPFitException: no output from GATPFit
at jing.chem.GATPFit.callGATPFit(GATPFit.java:206)
comes up. Now, version 3.3 runs just fine with the same compiler/libraries (gfortran 4.4.6).
The text was updated successfully, but these errors were encountered: