Re: ADF 2003 Windows + Cygwin

Search:

Re: ADF 2003 Windows + Cygwin

From: Erik van Lenthe <vanlenthe_at_email.domain.hidden>
Date: Mon, 24 Mar 2003 15:16:54 +0200
X-Mailer: exmh version 2.0.2 2/24/98

Dear all,

This message is meant only for ADF users on Window 98, NT, XP, and 2000,
with the Cygwin UNIX emulator.
Some remarks about environment variables using Cygwin and ADF,
(which are not standard UNIX),
and some instructions how to make the simple MM-optimization work correctly.
This MM-optimization is part of the new adfinput module in the adf2003.01
version.

 Cygwin can be downloaded from http://www.cygwin.com.
 We installed every Cygwin package, not only the Default one.
 This will install several hundreds of megabytes to your computer.

Advise:
 Make the adfhome directory in /cygdrive/c (within the Cygwin environment),
 and not use $HOME/adfhome!
 You may give the directory adfhome a different name
 It is necessary to follow these instructions very precisely
 for the making of the adfhome directory,
 links to this directory and environmental variables, like ADFHOME.
 Otherwise files cannot be found either by Cygwin,
 or by the PGI compiled adf version.
 Note that environment variables with /cygdrive/c in their
 names can not be recognized by the ADF executables.
 The master directory of the ADF package /cygdrive/c/adfhome
   mkdir /cygdrive/c/adfhome
   ln -s /cygdrive/c/adfhome /adfhome
   export ADFHOME=/adfhome
   export ADFBIN=$ADFHOME/bin
   export ADFRESOURCES=$ADFHOME/atomicdata
   export SCMLICENSE=$ADFHOME/license
   export NSCM=1
   export PATH=$PATH:.:$ADFBIN:$ADFBIN/TclTk/bin
 These environment variables can be set for example in $HOME/.profile
 (bash shell).
 
 For the MM optimization in the adfinput module
 the directory C:/tmp (which may already exist)
 and the executable C:/bin/sh.exe should exist, thus
   mkdir C:/tmp
   mkdir C:/bin
   cp /cygdrive/c/cygwin/bin/sh.exe C:/bin/sh.exe

Alternative for pathnames on Windows
 Use pathnames of the form (except for the environment variable PATH):
 C:/full/path/... (and not /full/path/...)
 Path names that are of the form C:/full/path/ can be recognized both by
 the Cygwin environment as well as by the ADF executables.
 For the pathnames that are used within the environment variable name
 PATH use the unix-style pathname
 /cygdrive/c/full/path/
 See also the command: cygpath --unix C:/full/path/

See also http://www.scm.com/Doc/Doc2002/Installation.pdf,
         http://www.scm.com/Downloads/download2003.01/Welcome.html

Best regards,
Erik van Lenthe

----------------------------------------------------------------------
Dr. Erik van Lenthe SCIENTIFIC COMPUTING & MODELLING NV
Tel: +31 20 44 47625 Vrije Universiteit, Theoretische Chemie
secretary: 44 47519 De Boelelaan 1083
 fax: 44 47629 1081 HV Amsterdam, The Netherlands
 e-mail: vanlenthe@scm.com http://www.scm.com
----------------------------------------------------------------------
Received on 2003-03-24 15:19:04

This archive was generated by hypermail 2.2.0 : 2006-11-02 07:00:02 CET