Updating SSW for the Fermi Solar Data Analysis Workshop

Kim Tolbert

16-August-2012

 

The SSW installation in the FermiVM should be updated.    SSW is constantly being updated, both the software and database files.  The current installation in the FermiVM is from March 2012.  Features have been added to OSPEX in the meantime.

Note that the first step only needs to be done once. 

 

1.  Change Permissions

By mistake, SSW was installed by the root user.  Consequently the user fermiuser (you) is not allowed to change them.  You should execute the following command to change ownership of all SSW files to fermiuser JUST ONCE.

 In the FermiVM, open a terminal and type the following command.  When asked for a password, type fermipw.

sudo chown -R fermiuser.fermiuser /usr/local/ssw

Now all files in SSW are owned by fermiuser, and can be updated in the future.

 

2.  Update SSW

The following command to update the SSW software and files to the latest version can be done anytime.

From a terminal window in the FermiVM, type sswidl or sswidlde& (to start IDL in the SSW environment either in the command line or the IDL GUI), and enter this command:

ssw_upgrade, /spawn, /passive, /loud

 

The update may take several minutes to run. If any problems occur or it looks like the update didn't finish, just type the command again - each time you run the update, it only retrieves files that were not successfully retrieved earlier.

Messages that indicate a real problem include (not a complete list)

bullet 'Failed to get ...',  or
bullet 'Fatal error talking to site...', or
bullet 'Can't build data connection...'

You can ignore

bullet ‘Tried to create symlink but not supported locally’,
bullet any messages indicating that a directory or file was already there, but is being overwritten.

You should restart SSWIDL after an update so that any updated routines will be recompiled.