yum install ncompress
yum install gcc
yum install gcc-c++
yum install gcc-gfortran
yum install atlas (Math Lib)
yum install autoconf
yum install libtool
yum install bison
yum install flex
yum install pcre
yum install pcre-devel
yum install perl-CGI
yum install apr
yum install apr-util
yum install httpd
yum install php
service iptables start (must be running before httpd is turned on)
chkconfig iptables on (did not work; still need to "service iptables star" after reboot)
service httpd start
chkconfig httpd on
/etc/httpd/conf.d> diff userdir.conf userdir.conf.orig
33,41c33,35
< Options Indexes Includes FollowSymLinks
<
< ## Apache 2.4 users use following ##
< Require all granted
<
< ## Apache 2.2 users use following ##
< AllowOverride All
< Allow from all
< Order deny,allow
---
> AllowOverride FileInfo AuthConfig Limit Indexes
> Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
> Require method GET POST OPTIONS
set the hostname straight -- the eburg-##.reg.cwu.edu hostname won't work. Use pc#####.d.cwu.edu
Installation as root:
Get WebMO.14.0.007.tar (License Number in Email)
tar xvf WebMO.14.0.007.tar
cd WebMO.install
perl setup.pl
Here are the configuration options that you have chosen
License number: ...
Path to perl: /usr/bin/perl
Webserver name: eburg-10.reg.cwu.edu
HTML directory: /var/www/html/webmo
HTML URL: /webmo
CGI script directory: /var/www/cgi-bin/webmo
CGI script URL: /cgi-bin/webmo
User files directory: /var/webmo
Once WEBMO is installed, the login URL is
http://hostname/cgi-bin/webmo/login.cgi
username: admin
password: blank
change password after login. Set up new users with passwords.
Now GAMESS:
Put GAMESS under the webmo prefered /usr/local/gamess
./config
(choose gfortran and atlas both are freely available for Fedora 20)
The actvte.code will be automatically modified, compiled, and executed.
When doing lked, ld may not be able to find -latlas and -lf77blas because in the /usr/lib64/atlas folder these two library's names contains version numbers that need to be removed:
cd /usr/lib64/atlas
sudo ln -s libatlas.so.3.0 libatlas.so
sudo ln -s libf77blas.so.3.0 libf77blas.so
cp -r /home/yingbin/gamess /usr/local/gamess (default directory of WEBMO)
cd /var/www/cgi-bin/webmo
vi run_gamess.cgi
add "$ENV{'ERICFMT'} = "/home/yingbin/gamess/ericfmt.dat";" and other environmental variables if needed.
Installation as regular
[webmo@pc##### webmo]$ diff run_gamess.cgi run_gamess.cgi.orig
70d69
< $ENV{'ERICFMT'}="/home/yingbin/gamess/ericfmt.dat";
No comments:
Post a Comment