Version 5 (modified by 5 years ago) ( diff ) | ,
---|
Reserve the cluster for a school
go on the associate cluster then
- cd WWW/cgi-bin/Register/
then edit the file register_for_school-pl
at two places you have something like
################################################# ## TEMP ENTRY FOR SCHOOL ################################################# if( $inst ne 'SCHOOL18'){ $good=$good+16; }
change SCHOOL18 to something appropriate then do
cp register_for_school-pl register-pl
at the end of the school do
cp register_normal-pl register-pl
Note: All the student of the school have to register with that key as institution to get granted directly run access on the cluster
Use install XXX and import model via a local machine rather than internet
The easiest is to ask the user to do:
export MG5aMC_WWW="http://192.168.xxx.xxx:8000"
where 192.168.xxx.xxx is the (local) ip of the machine which provides the webserver and 8000 the associate port (see below for the port)
On your side:
- create an empty directory and move into it.
- On that machine, (better prior to the school) you can run the script: (in attachment here)
python download_all_tarball.py
(options are --no_model --no_install)
- Then at the school, when you have the local ip of the machine run the script (also in attachment)
python make_www.py 192.168.xxx.xxx
- When you want to serve the files, run the following code in that directory:
python -m SimpleHTTPServer 8000
Attachments (2)
- make_www.py (684 bytes ) - added by 6 years ago.
- download_all_tarball.2.py (833 bytes ) - added by 6 years ago.
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.