To start using the Astro-WISE Environment, AWE, a few initial steps need to be taken. Access is required to the AWE database, to the AWE software and to the AWE dataservers.
1 to create one for you. Your database username will consist of AW, followed by your first initial, followed by your surname.
In order to automatically log in to the database when you start up AWE you need to create a directory .awe in your home directory as follows:
cd mkdir .awe cd .aweNow create a file here called Environment.cfg with the following content:
[global] database_user : <your database username> database_password : <your database password>Make sure only you can read the contents of the file:
chmod a-rwx,u+rw Environment.cfgAt OmegaCEN/Kapteyn Astronomical Institute, the AWE software is set up by executing the appropriate one of the following commands from the shell prompt:
# At the Kapteyn Institute in Groningen ...]$ module add aweTip: you can add this source command to your .cshrc or .bashrc file to have the command executed automatically for future awe sessions.
aweand you will be welcomed by an awe-prompt similar to this
Python 2.7.6 (default, Jan 8 2014, 14:02:13) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. Welcome to the Astro-WISE Environment | You are running the AWBASE version Importing Astro-WISE packages. Please wait... Distributed Processing Unit: dpu.hpc.rug.astro-wise.org Dataserver: ds.astro.rug.astro-wise.org Current profile: - username : <your database username> - database : db.astro.rug.astro-wise.org - project : <your active project> - current privileges : 1 (MyDB) awe>From this moment on the Astro-WISE Environment is at your disposal.
cvs -d :pserver:email@example.com:/cvsroot login cvs -d :pserver:firstname.lastname@example.org:/cvsroot checkout -r AWBASE awe
Usage of CVS is explained in HOW-TO Use CVS.
Note that in order to use your checkout of awe instead of the central checkout, you have to set an environment variable AWEPIPE to point to the awe directory. C-shell example:
setenv AWEPIPE /path/to/your/awe
It may be convenient to add this line to your 1#1
Setting up write access to the CVS repository is further explained in HOW-TO Use CVS.