Order directory structure. src is for relevant code only.
This commit is contained in:
111
trimsp/obsolete/trimsp_changes.html
Normal file
111
trimsp/obsolete/trimsp_changes.html
Normal file
@@ -0,0 +1,111 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-15">
|
||||
<TITLE></TITLE>
|
||||
<META NAME="GENERATOR" CONTENT="OpenOffice.org 1.0 (Linux)">
|
||||
<META NAME="AUTHOR" CONTENT=" ">
|
||||
<META NAME="CREATED" CONTENT="20020620;15124500">
|
||||
<META NAME="CHANGED" CONTENT="20040617;17131700">
|
||||
</HEAD>
|
||||
<BODY LANG="en-US">
|
||||
<ADDRESS>TP, 14-Jan-2003, 17-Jun-2004, PSI</ADDRESS>
|
||||
<ADDRESS STYLE="margin-bottom: 0.51cm"><BR><BR>
|
||||
</ADDRESS>
|
||||
<P STYLE="margin-top: 0.43cm; page-break-after: avoid"><FONT FACE="Helvetica, sans-serif"><FONT SIZE=4 STYLE="font-size: 16pt"><B>Changes
|
||||
on the 7-layer TrimSP version for running on Unix/Linux and NT</B></FONT></FONT></P>
|
||||
<UL>
|
||||
<LI><P STYLE="font-weight: medium"><FONT FACE="Helvetica, sans-serif"><FONT SIZE=3>Source
|
||||
code renamed to trimsp7l_tp.F (ok, ok, a bit egoistic...)</FONT></FONT></P>
|
||||
<LI><P STYLE="margin-right: 5.99cm; font-weight: medium"><FONT FACE="Helvetica, sans-serif"><FONT SIZE=3>the
|
||||
capital .F extension is necessary to invoke the pre-compiler for
|
||||
handling #if defined... instructions. The output in the .rge files
|
||||
is slightly different for Win and Unix/Linux OS. For Win usually
|
||||
people are using Origin for reading the .rge files, therefore I kept
|
||||
the old output format for Win.</FONT></FONT></P>
|
||||
<LI><P STYLE="margin-right: 5.84cm; font-weight: medium"><FONT FACE="Helvetica, sans-serif"><FONT SIZE=3>Replaced
|
||||
all non-standard f77 functions/procedures by f77 standard to compile
|
||||
it on Linux.</FONT></FONT></P>
|
||||
<LI><P STYLE="margin-right: 5.84cm; font-weight: medium"><FONT FACE="Helvetica, sans-serif"><FONT SIZE=3>TMR
|
||||
already introduced <I>implicit none </I>instead of implicit variable
|
||||
declaration.</FONT></FONT></P>
|
||||
<LI><P STYLE="margin-right: 6.15cm; font-weight: medium"><FONT FACE="Helvetica, sans-serif"><FONT SIZE=3>Use
|
||||
the ranlux random number generator from the CERN library. Requires
|
||||
mathlib to be linked to the program (standard Fortran77 contains a
|
||||
very bad random number generator, the ran(ix) function is
|
||||
DEC-Fortran)</FONT></FONT></P>
|
||||
<LI><P STYLE="margin-right: 6.15cm; font-weight: medium"><FONT FACE="Helvetica, sans-serif"><FONT SIZE=3>Fix
|
||||
error in calculation of the Thomas-Fermi reduced energy. This led to
|
||||
wrong numbers in the output file but had no effect on the TRIMSP
|
||||
calculation. </FONT></FONT>
|
||||
</P>
|
||||
</UL>
|
||||
<P STYLE="margin-right: 6.15cm"><BR><BR>
|
||||
</P>
|
||||
<P STYLE="margin-top: 0.43cm; page-break-after: avoid"><FONT FACE="Helvetica, sans-serif"><FONT SIZE=4 STYLE="font-size: 16pt"><B>Changes
|
||||
on datmak7l</B></FONT></FONT></P>
|
||||
<UL>
|
||||
<LI><P STYLE="margin-right: 5.92cm; font-weight: medium"><FONT FACE="Helvetica, sans-serif"><FONT SIZE=3>source
|
||||
code renamed to datmak7l_tp.F (the capital F is important to invoke
|
||||
pre-compiler processing).</FONT></FONT></P>
|
||||
<LI><P STYLE="margin-right: 5.92cm; font-weight: medium"><FONT FACE="Helvetica, sans-serif"><FONT SIZE=3>introduce
|
||||
pre-compiler instructions to distinguish between Win32 and
|
||||
Unix/Linux. In case of Win32 a DOS batch file is created. In case of
|
||||
Unix/Linux a c-shell script is generated (which must be set manually
|
||||
to executable at the moment: chmod a+x <Shell Script Name>
|
||||
before it can be run).</FONT></FONT></P>
|
||||
<LI><P STYLE="margin-right: 5.92cm; font-weight: medium"><FONT FACE="Helvetica, sans-serif"><FONT SIZE=3>use
|
||||
<I>implicit none </I>variable declaration.</FONT></FONT></P>
|
||||
<LI><P STYLE="margin-right: 5.92cm; font-style: normal; font-weight: medium">
|
||||
<FONT FACE="Helvetica, sans-serif"><FONT SIZE=3>Prompting for random
|
||||
number generator seed disabled because TrimSP now uses ranlux which
|
||||
makes its own initialization.</FONT></FONT></P>
|
||||
<LI><P STYLE="margin-right: 5.92cm; font-style: normal; font-weight: medium">
|
||||
<FONT FACE="Helvetica, sans-serif"><FONT SIZE=3>Output on screen
|
||||
changed from german to english.</FONT></FONT></P>
|
||||
<LI><P STYLE="margin-right: 5.92cm"><FONT FACE="Helvetica, sans-serif">A
|
||||
formatted reading limited the number of particles to 999999 (at
|
||||
least with the f77 compiler on Linux). This is now (14-Jan-2003)
|
||||
corrected</FONT>.</P>
|
||||
</UL>
|
||||
<P STYLE="margin-right: 5.92cm; font-style: normal; font-weight: medium">
|
||||
<FONT FACE="Helvetica, sans-serif"><FONT SIZE=3>A Makefile is
|
||||
available (for Unix/Linux only at the moment) to compile and link the
|
||||
programs. Default location for the program is $HOME/bin. If this
|
||||
directory is included in the system's PATH variables the programs can
|
||||
be simply started without entering the directory.</FONT></FONT></P>
|
||||
<P STYLE="margin-right: 5.92cm; font-style: normal; font-weight: medium">
|
||||
<FONT FACE="Helvetica, sans-serif"><FONT SIZE=3>Up to now, I didn't
|
||||
test it on Win32/Unix, only on RedHat Linux.</FONT></FONT></P>
|
||||
<P STYLE="margin-right: 5.92cm; font-style: normal; font-weight: medium">
|
||||
<FONT FACE="Helvetica, sans-serif"><FONT SIZE=3>Installation on
|
||||
Linux:</FONT></FONT></P>
|
||||
<UL>
|
||||
<LI><P STYLE="margin-right: 5.92cm; font-style: normal; font-weight: medium">
|
||||
<FONT FACE="Helvetica, sans-serif"><FONT SIZE=3>define environment
|
||||
variable CVSROOT=/afs/psi.ch/project/nemu/cvsroot</FONT></FONT></P>
|
||||
<LI><P STYLE="margin-right: 5.92cm; font-style: normal"><FONT FACE="Helvetica, sans-serif"><FONT SIZE=3><SPAN STYLE="font-weight: medium">go
|
||||
to your home directory and checkout the module trimsp: </SPAN><B>cvs
|
||||
checkout trimsp. </B><SPAN STYLE="font-weight: medium">The</SPAN>
|
||||
directory simulation/trimsp with subdirectories will be created.
|
||||
Goto simulation/trimsp/src and enter <B>make</B> to compile and link
|
||||
the program. It will create the executables in $HOME/bin. You need
|
||||
the libmathlib.a from the Cern library. Makefile expects it to be
|
||||
located in $CERN_ROOT/lib. If CERN_ROOT is not defined you may
|
||||
change the Makefile to point to the location of libmathlib.a on your
|
||||
system.</FONT></FONT></P>
|
||||
<LI><P STYLE="margin-right: 5.92cm; font-style: normal; font-weight: medium">
|
||||
<FONT FACE="Helvetica, sans-serif"><FONT SIZE=3>Include $HOME/bin
|
||||
into the $PATH variable.</FONT></FONT></P>
|
||||
<LI><P STYLE="margin-right: 5.92cm; font-style: normal; font-weight: medium">
|
||||
<FONT FACE="Helvetica, sans-serif"><FONT SIZE=3>The input files are
|
||||
in simulation/trimsp/work. Go to this directory to run datmak and
|
||||
the shell script created by datmak. For running the shell script you
|
||||
must change its mode manually to executable, <B>chmod a+x <Shell
|
||||
script name></B>. After this you can start it with <B>./<Shell
|
||||
script name>.</B></FONT></FONT></P>
|
||||
</UL>
|
||||
<P STYLE="margin-right: 5.92cm"><BR><BR>
|
||||
</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
Reference in New Issue
Block a user