Previous Thread
Next Thread
Print Thread
setenv install error for c38b1
#34260 08/11/14 10:00 AM
Joined: May 2014
Posts: 13
R
rau_bio Offline OP
Forum Member
OP Offline
Forum Member
R
Joined: May 2014
Posts: 13
Hi dear members,

I'm trying to install CHARMM c38b1 but got the following error message: "setenv: Too many arguments."

Just untaring the tarball and executing the below mentioned command from c38b1 directory.

OS: Debian 3.2.60 x86_64
GCC version: 4.7.2
Gfortran is installed
Command: ./install.com gnu large M

Can anybody explain what's wrong?

Thanks in advance.

Re: setenv install error for c38b1
qiul #34263 08/11/14 04:09 PM
Joined: Sep 2003
Posts: 8,498
rmv Online Content
Forum Member
Online Content
Forum Member
Joined: Sep 2003
Posts: 8,498
Did you miss the comment above about starting a new thread for a new topic? Was the information in READ BEFORE POSTING somehow not clear about how and what to post?

It's not a problem I've seen before, and it may be a user or system setup issue rather than a CHARMM issue.

I don't think there is enough information yet to hazard a rough guess. There should be more information output by install.com, and there should be a log file in build/gnu_M which may help.


Rick Venable
computational chemist

Re: setenv install error for c38b1
qiul #34312 08/19/14 12:27 PM
Joined: May 2014
Posts: 13
R
rau_bio Offline OP
Forum Member
OP Offline
Forum Member
R
Joined: May 2014
Posts: 13
Yes, I've read the information in READ BEFORE POSTING.

Ok, I'll create a new topic for my issue and describe my problem in more details.

And before creating a new topic will you please to tell what additional information I've to provide in order to be complete in describing of CHARMM compiling problem?

Thanks.

Re: setenv install error for c38b1
rau_bio #34315 08/19/14 04:56 PM
Joined: Sep 2003
Posts: 8,498
rmv Online Content
Forum Member
Online Content
Forum Member
Joined: Sep 2003
Posts: 8,498
(Post moved and 'setenv' added to topic.)

There are a lot of 'setenv' commands in install.com, so the error message has no context in the absence of any other information.

One possibility is that the pathname for the CHARMM source, or the MPI library, etc., may have a space character in the name.


One thing you can try is to change the first line of install.com from

#!/bin/csh -f

to

#!/bin/csh -f -x

Adding the -x flag will echo the commands as they are executed; you may wish to redirect the output to a file, or use 'less' to see it a page at a time.


Rick Venable
computational chemist

Re: setenv install error for c38b1
rau_bio #34320 08/22/14 08:49 AM
Joined: May 2014
Posts: 13
R
rau_bio Offline OP
Forum Member
OP Offline
Forum Member
R
Joined: May 2014
Posts: 13
Yes, it was system setup issue related to csh.
Fix it and installed charmm successfully.

Thanks for helping.

Re: setenv install error for c38b1
rau_bio #34323 08/22/14 03:54 PM
Joined: Dec 2005
Posts: 1,535
Forum Member
Offline
Forum Member
Joined: Dec 2005
Posts: 1,535
It would be polite if you would please briefly explain what the issue was and how you fixed it. That way
  • other people who will find themselves in your situation can benefit from it
  • if it turns out that tcsh code that is incompatible with csh slipped into install.com (again), the issue can be fixed in the next CHARMM release

Re: setenv install error for c38b1
rau_bio #34393 09/14/14 07:00 AM
Joined: May 2014
Posts: 13
R
rau_bio Offline OP
Forum Member
OP Offline
Forum Member
R
Joined: May 2014
Posts: 13
Hi,

Sorry for being late.

I think it was issue related to csh, because after installing csh I didn't configure the user environment( .cshrc and .login files).
Also I noticed that the folder's name, where Charmm was executed, has space. Maybe that space also influenced on Charmm installation.


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.013s Queries: 28 (0.006s) Memory: 0.9414 MB (Peak: 1.0485 MB) Data Comp: Off Server Time: 2020-09-20 23:32:33 UTC
Valid HTML 5 and Valid CSS