Get Adobe Flash player
Wednesday, September 01, 2010 2:29:11 PM

Today I have started an assault on the CVSSP processing servers, they thought they were safe after that last mass of processing done by one of my centre colleagues. I decided to prove them wrong by writing up a few scripts to dump down a load of work on them.

Also played around with some Linux  environmental variables that allows you to switch between platforms and have hostname dependent configurations may come in useful for anyone working with multiple servers.

 

switch(`hostname`)

      case "workstation**":

            setenv LD_LIBRARY_PATH "/MachineType/opencv:$LD_LIBRARY_PATH"

            breaksw

      case "Sever**Ubuntu":

            setenv LD_LIBRARY_PATH "/MachineType/opencv:$LD_LIBRARY_PATH"

            breaksw

endsw

Note: * is used as wildcard so all servers of that type use the same config

Just a little logon script to change between libraries in my case was in ~/.cshrc

Comments are closed on this post.