Installing on a 64 bit Platform


The default build environment for the RPN Libraries is 32-bit; however, using the 64 bit compilers on your x86_64 machine is possible with a few tweaks to your environment.

  1. Modify your environment: chmod u+w ~/.profile_usr; echo "# ARMNLIB x86_64 requirements" >>~/.profile_usr; echo "export PGI_tp=amd64" >>~/.profile_usr; echo "export F90C=pgf90" >>~/.profile_usr; echo "export F77C=pgf90" >>~/.profile_usr

TIP: The amd64 type argument to PGI_tp (above) can be modified to more closely match your processor. Check the manpage for pgf90 for options.

If all users are going to using the 64 bit packages from RPN, then you can add these lines to /etc/profile as the root user.

  1. Log in as root user.
  2. Modify all user environments: echo "# ARMNLIB x86_64 requirements" >>/etc/profile; echo "export PGI_tp=amd64" >>/etc/profile; echo "export F90C=pgf90" >>/etc/profile; echo "export F77C=pgf90" >>/etc/profile
  3. Log out of root user account.

These environment variables are specific to the RPN package. They should not affect the performance of other applications.