[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[McIDAS #LOB-532260]: Error building McIDAS-X 2016



Hi Kwan,

re:
> Here's my .cshrc in the attachment.

OK, this is complicated enough that I don't want to suggest changes to
it.  Instead, I suggest that you do the following:

- create the file ~/cshrc.mcidas with the following content

# McINST_ROOT and VENDOR non-conforming shell defines
# needed to build McIDAS
setenv McINST_ROOT /export/wpc-lw-fobdev5/kkong/mcidas
setenv VENDOR -gfortran

# NOTE: uncomment the line that sets MySQL_ROOT if you want to
#       build with MySQL support:
#       - leave the value blank if MySQL is installed in a standard
#         location
#       - specify the value as the root directory of the MySQL
#         installation if MySQL is not installed in a standard
#         location
# setenv MySQL_ROOT TRUE

if ( -e $McINST_ROOT/admin/mcidas_env.csh ) then
  source $McINST_ROOT/admin/mcidas_env.csh
endif


- make a copy of your current .cshrc file:

cp ~/.cshrc ~/cshrc.orig

- change .cshrc to a link to either ~/cshrc.orig or ~/cshrc.mcidas

  The link to ~/cshrc.mcidas should be in effect when you want to
  build McIDAS-X v2016.

  The link to ~/cshrc.orig will be in effect for other things.

- to build McIDAS-X, do the following in one of your login terminal
  windows:

<as you>
cd
rm .cshrc             <- AFTER you have saved the original file!!!
ln -s cshrc.mcidas .cshrc

Log off in this terminal window and log back in making sure that
.cshrc (which is now actually cshrc.mcidas) has been sourced.

Then, proceed to building McIDAS-X in this same terminal window:

cd $McINST_ROOT/mcidas2016/src
make clobber
make

After the build, change the .cshrc link back to the original:

cd
rm .cshrc && ln -s cshrc.orig .cshrc


NB:  all of your other existing terminals will not be affected by the
use of the cshrc.mcidas file settings unless you happen to log off and
log back on while the .cshrc link to cshrc.mcidas is in effect.

Cheers,

Tom
--
****************************************************************************
Unidata User Support                                    UCAR Unidata Program
(303) 497-8642                                                 P.O. Box 3000
address@hidden                                   Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage                       http://www.unidata.ucar.edu
****************************************************************************


Ticket Details
===================
Ticket ID: LOB-532260
Department: Support McIDAS
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.