-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
70 lines (38 loc) · 1.51 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
GArefl is a reflectometry fitting program in C which allows simultaneous
fitting of neutron and X-ray data.
The source software is available as a download from
http://www.ncnr.nist.gov/reflpak
or directly from the github repository:
http://github.com/reflectometry/garefl
Once you have downloaded the particular version you are
interested in and extracted the files, change to the
garefl subdirectory.
The next step(s) are operating system specific.
MacOSX
Without magnetism (no fortran compiler required):
./configure --disable-magnetic
With magnetism (requires fortran compiler):
./configure FLIBS=-lg2c # g77 fortran compiler
./configure FLIBS=/usr/local/lib/libgfortran.a # gfortran compiler
You can install a fortran compiler from brew or ports, or download it from:
http://r.research.att.com/tools
Install gnuplot and aquaterm if you need plotting.
Windows
Install cygwin with dev tools (gcc, make, gfortran), or install msys+mingw.
Install gnuplot for windows.
./configure
Unix
Install development environment (e.g., gcc, make, gfortran) using the
package manager for the OS and install gnuplot.
./configure
Once configure has completed, use
make
to build the code.
Next switch to examples/volfrac and type
make
./fit
You should now be running an example of a simultaneous fit.
See doc/ga_refl.pdf for instructions on setting up your models
and fitting with them.
Paul Kienzle
2016-12-28