| 288 | | = Licensing = |
| 289 | | Installed the updated 6.2 license.dat file on njord floating license machine. Flexlm licensing software may require updating, will verify. |
| 290 | | |
| 291 | | Defined path to license server in the user's environment by defining the LM_LICENSE_FILE environment variable. This was accomplished through modification of the .bashrc file: |
| 292 | | |
| 293 | | ### IDL Environment ### |
| 294 | | . /usr/local/rsi/idl/bin/idl_setup.bash |
| 295 | | export LM_LICENSE_FILE=1700@njord.phys.columbia.edu |
| | 288 | = Solaris Installation = |
| | 289 | |
| | 290 | {{{ |
| | 291 | From: Claire Russell <claire@astro.columbia.edu> |
| | 292 | Date: February 3, 2006 12:21:12 PM EST |
| | 293 | To: Greg Bryan <gbryan@astro.columbia.edu> |
| | 294 | Cc: Carlos De La Cruz <cdelacruz@astro.columbia.edu> |
| | 295 | Subject: Re: IDL |
| | 296 | |
| | 297 | Greg, |
| | 298 | |
| | 299 | Hi, looks like IDL 5.3 was disabled a wile back but IDL 5.6 works as does 6.0 on the other Suns. I see the new license file in two places: |
| | 300 | /softW_4/license/license.dat |
| | 301 | /softW_4/idl_6.0/license/license.dat (same as /nfs/idl_6.0/license/license.dat on all Suns) |
| | 302 | |
| | 303 | An oddity with license.dat is that '/usr/local/rsi/idl_6.2/bin/' doesn't exist but the license is running okay, see this line in license.da\t: |
| | 304 | DAEMON idl_lmgrd /usr/local/rsi/idl_6.2/bin/ |
| | 305 | |
| | 306 | If njord is rebooted, then the local system startup file: /etc/init.d/rc.local gets run and that will run the old license manager program(lm\grd). But maybe that won't matter. Lines from rc.local: |
| | 307 | |
| | 308 | # Start license managers |
| | 309 | RSI_DIR=/nfs/idl_6.0 |
| | 310 | export RSI_DIR |
| | 311 | IDL_DIR=/nfs/idl_6.0/idl |
| | 312 | export IDL_DIR |
| | 313 | umask 022;su flexlm -c "/nfs/idl_6.0/idl/bin/lmgrd -c /nfs/idl_6.0/license/license.dat > /var/adm/idl.log " |
| | 314 | |
| | 315 | So looks like the new 6.2 license is installed but might have to be restarted by hand after a reboot. |
| | 316 | ........................................................................ |
| | 317 | To install IDL 6.2: |
| | 318 | Some licensed packages supply the license manager software separately ( for instance Mathematica). IDL however, has license manager and app\lication software in the same place. |
| | 319 | You have the 'license.dat' file already, so that no worry about getting that. |
| | 320 | |
| | 321 | 1. In any case, to add the new version (6.2), first set the INSTALLATION PATH so you can supply that when the RSI installation procedure as\ks you where to put the new version. To do this: |
| | 322 | a) decide where there is room for the package and make the directory. Seems /w1 has a lot of space, so put it there: |
| | 323 | > mkdir /w1/idl_6.2 |
| | 324 | b) BUT that can't be the INSTALLATION PATH as it won't show up on the other Sun |
| | 325 | hosts, so make a link: |
| | 326 | > ln -s /w1/idl_6.2 /nfs/idl_6.2 |
| | 327 | (LATER we can change this link to point to the automount point of the new version) |
| | 328 | |
| | 329 | So now the INSTALLATION PATH you will give to RSI installation procedure is: /nfs/idl_6.2 |
| | 330 | and the RSI installation procedure will put the entire software package (including the license manager programs(lmgrd, lmdown,etc.) there as\ well. It SHOULD use that path to tailor any startup scripts&license files (but seems it doesn't, it expands it to the physical one!) so on\e has to edit one or two files later. |
| | 331 | |
| | 332 | 2. So now after using the RSI installation procedure, and supplying it with:/nfs/idl_6.2 , the package should be installed. If any odd ques\tions in the RSI procedure, let me know. |
| | 333 | |
| | 334 | 3. Then edit file: |
| | 335 | > cp /nfs/idl_6.2/idl_6.2/bin/idl_setup /tmp |
| | 336 | > emacs /tmp/idl_setup (replace /w1/idl_6.2 with /nfs/idl_6.2) |
| | 337 | |
| | 338 | and add a new last line to start up IDL: |
| | 339 | $IDL_DIR/bin/idl |
| | 340 | |
| | 341 | > cp /tmp/idl_setup /nfs/bins/idl_6.2 |
| | 342 | > chmod +x /nfs/bins/idl_6.2 (be sure it's executable) |
| | 343 | |
| | 344 | 4. copy over the new license file: |
| | 345 | cp /softW_4/idl_6.0/license/license.dat /nfs/idl_6.2/license/license.dat |
| | 346 | |
| | 347 | 5. I have already added an entry to /etc/auto.indirect_pkg for /nfs/idl_6.2 assuming that it is at: |
| | 348 | njord:/w1/idl_6.2 |
| | 349 | so now: |
| | 350 | > rm /nfs/idl_6.2 |
| | 351 | > all_some8 ln -s /nfs/pkg/idl_6.2 /nfs/idl_6.2 |
| | 352 | > ls /nfs/idl_6.2 (will show the new installation via the automounter) |
| | 353 | |
| | 354 | 6. then on all Suns: |
| | 355 | idl_6.2 (search path will find: /nfs/bins/idl_6.2) |
| | 356 | will start up IDL 6.2 |
| | 357 | |
| | 358 | 7. May be an astro library that need to copy from IDL 6.0? Otherwise, done. |
| | 359 | |
| | 360 | |
| | 361 | Claire |
| | 362 | |
| | 363 | }}} |