Previous Thread
Next Thread
Print Thread
Segmentation fault in c36b1
#33673 03/27/14 05:44 PM
Joined: Jan 2012
Posts: 48
R
rajad Offline OP
Forum Member
OP Offline
Forum Member
R
Joined: Jan 2012
Posts: 48
Hi,
After I install CHARMM 36b1 in a new pc, I got the following error:

tark@anand2 ~/test/r34e_4c5c/dynamics $ charmm
gethostbyname>hostname problem: check /etc/hosts or /etc/resolv.conf
Segmentation fault


The same version is working in another machine.

I used following command during inatallation:
./install.com gnu xxlarge and it goes fine.

I appreciate any suggestion to resolve this problem.

Regards,
rajad

Re: Segmentation fault in c35b3
mooctopus #33674 03/27/14 06:00 PM
Joined: Dec 2005
Posts: 1,535
Forum Member
Offline
Forum Member
Joined: Dec 2005
Posts: 1,535
This is a top hit from the forum's search function. Or you could have used Google. Wasting CHARMM developer time by posting an already-answered question in a random unrelated thread is in violation of several of the forum guidelines, in addition to making a lazy and disrespectful impression (even if it wasn't intentional).

Last edited by Kenno; 03/27/14 06:16 PM. Reason: rewritten because original post was incorrect (it would have been better to delete it and write a new one but I couldn't).
Re: Segmentation fault in c35b3
rajad #33675 03/27/14 06:09 PM
Joined: Sep 2003
Posts: 8,498
rmv Online Content
Forum Member
Online Content
Forum Member
Joined: Sep 2003
Posts: 8,498
I suggest a forum search for gethostbyname as this is a known issue.


Rick Venable
computational chemist

Re: Segmentation fault in c35b3
rajad #33687 03/31/14 04:21 PM
Joined: Jan 2012
Posts: 48
R
rajad Offline OP
Forum Member
OP Offline
Forum Member
R
Joined: Jan 2012
Posts: 48
Hi Rick,
Thanks for your hints. The host problem has been solved. But, when I am trying to test the installation by a simple run, I am getting the following error.

VOPEN> Attempting to open::/home/rajad/programs/c36b1/toppar/top_all22_prot.inp::
OPNLGU> Unit 10 cannot be opened as /HOME/RAJAD/PROGRAMS/C36B1/TOPPAR/TOP_ALL22_PROT.INP

***** LEVEL 0 WARNING FROM *****
***** "OPEN" not possible.
******************************************
BOMLEV ( -2) IS NOT REACHED. WRNLEV IS 5


CHARMM> read rtf card unit 10
MAINIO> Residue topology file being read from unit 10.
RDTITL> No title read.

I am sorry, I could not find the solution.

Regards,
rajad

Re: Segmentation fault in c35b3
rajad #33688 03/31/14 05:10 PM
Joined: Jan 2012
Posts: 48
R
rajad Offline OP
Forum Member
OP Offline
Forum Member
R
Joined: Jan 2012
Posts: 48
Hi Rick,
I also got the error after running the program as follows:

tark@anand2 ~/Programs/test/r34e_4c5c/dynamics $ charmm < test-100mm-10ps.inp > test-100mm-10ps.out

At line 136 of file /home/rajad/Programs/c36b1/source/util/parse.src (unit = 10, file = 'fort.10')
Fortran runtime error: Read past ENDFILE record

Can you give any hints?
Regards
rajad

Re: Segmentation fault in c35b3
rajad #33689 03/31/14 05:31 PM
Joined: Sep 2003
Posts: 4,793
Likes: 2
Forum Member
Online Content
Forum Member
Joined: Sep 2003
Posts: 4,793
Likes: 2
1. Do not use the BOMLevel command.
2. What does the primary error message indicate?
3. For testing you may also want to run the tests that come with the program.


Lennart Nilsson
Karolinska Institutet
Stockholm, Sweden
Re: Segmentation fault in c35b3
rajad #33690 03/31/14 06:40 PM
Joined: Sep 2003
Posts: 8,498
rmv Online Content
Forum Member
Online Content
Forum Member
Joined: Sep 2003
Posts: 8,498
File names with mixed upper and lower case letters MUST be enclosed in double quote (") marks.


Rick Venable
computational chemist


Moderated by  lennart, rmv 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 5.6.33-0+deb8u1 Page Time: 0.006s Queries: 28 (0.002s) Memory: 0.9419 MB (Peak: 1.0509 MB) Data Comp: Off Server Time: 2020-09-20 05:18:08 UTC
Valid HTML 5 and Valid CSS