2. The calculations and tasks
Windows
users:
we know
that our compiled code runs on Windows 7
We also think that it runs on windows
8 (tested last year)
( We need a test on
windows 10
) (the dll-file might be a problem .... )
Here
are
links
to
the
description, tasks and download of fortran3.zip
We
can
start
at
or possibly (much better) start here:
here you can fetch fortran3.zip
which is the zip-file you need. It
contains sources, data files,
windows and mac executables.
These must be run in COMMAND LINE window (terminal)
On windows that is the com.exe,
command.exe, powershell etc.
PLEASE, somebody try this on windows 10
and tell us.
Windows
1. download fortran3.zip
2.
unpack it to some
directory ( it will be somewhere\fortran3 )
3.
you must get to the
directory somewhere\fortran3
in
your
command
line
suppose
it
is
on
disk d:\ then you do this
d:
cd
d:\somewhere\fortran3
dir
herman3
< in18
dir
command
shows
you
what is there, you should see things like
hydrad3.exe
herman3.exe in18 in6 herman3.f
.... (22 files, also cygwin1.dll )
The
test
happens
by "running" herman3
<
in18
a long sequence of results should appear
the
last
lines
look
like this
# IDENT:
100 E = -232.536392 0.000000
.......
# IDENT:
210 E = -18.207748
1.000000 ......
# IDENT:
300 E = -2.106935
0.000000 .......
# IDENT:
310 E = -1.065497
1.000000 .......
Finished the
loop
This would be a
positive result of the test
Any rror messages
would mean a negative result
Linux
workplace or Mac OS X
similar start,
download fortran3.zip, unpack somewhere
in terminal
cd somewhere/fortran3
ls -ltr
On Linux to make the
executables this must be entered: (on Mac, executables are in the
zip-file)
gfortran
-o hydrad3 hydrad3.f
gfortran -o
herman3 herman3.f
the line ls -ltr lists
the present files; radhyd3 line produces lots of warnings;
ignore them
TEST RUN: (
dot slash herman3 < in18 )
------------------------------------------------
./herman3
<
in18
result as
above for windows: many lines - last line "Finished
the
loop"
With
this,
you
can
now
start to work along the instructions at