47 Commits

Author SHA1 Message Date
Bastian M. Wojek
1b5c1df691 Fixed a bug in the LF calculations and parallelized the chi^2 calculations in single-histogram and asymmetry fits 2011-05-21 14:11:00 +00:00
Bastian M. Wojek
cb995d984d Commit some code snippets lying around here already for a few years 2011-05-09 13:06:27 +00:00
Bastian M. Wojek
87d366355f Changed the default search paths for HDF4, HDF5, and NeXus to find libraries installed through Fink or MacPorts on OS X 2011-05-07 11:14:26 +00:00
Bastian M. Wojek
0191375a96 The previous approach did not work...
Needed to split off the userFcn part from libPMusr to be able to provide a shared library of it (under Cygwin).
2011-04-13 09:59:33 +00:00
Bastian M. Wojek
1024f5a28f Removed the user-function dependency on libPMusr
It should now be possible to build a static version of musrfit and shared libraries for the user functions.
This is needed on systems which do not support linking static libraries to shared ones (like Cygwin).
These changes still need to be tested on Cygwin, especially with user functions implementing the "global interface".
2011-04-13 08:18:14 +00:00
201808b055 added some additional standard path for HDF4 2011-04-11 09:05:19 +00:00
nemu
49619fcffb added NeXus support. Still a lot of testing will be needed, documentation updated, etc. 2011-04-08 09:24:32 +00:00
Bastian M. Wojek
e346f9c5c4 Produce a configure-error if fftw3f is not available but the BMWlibs should be built. 2011-03-23 12:01:14 +00:00
Bastian M. Wojek
aaa0638729 Restructured the interdependencies within the BMWlibs (maybe other commits will follow) 2011-03-20 18:03:49 +00:00
Bastian M. Wojek
2d2cf448db Trying to tie the same startup handler into different plugin libraries did not work quite well.
Therefore, a new library is built and the plugins link to that one.
This new library at the moment only contains the startup handler, however, finally it might serve as well for other routines
that are used by different plugins.
2011-03-19 11:44:56 +00:00
Bastian M. Wojek
cb2ab44b63 Minor fixes 2011-03-17 13:57:10 +00:00
Bastian M. Wojek
032ce4a1e4 - Extended the usage of xml-startup files in some plugin libraries and renamed the file itself.
- Added some documentation to libLFRelaxation which in the present stage is mainly used for testing purposes.
2011-03-16 16:43:13 +00:00
Bastian M. Wojek
233ca10dff - Removed the extensions of the external libraries in the test files.
ROOT is anyway checking multiple extensions for dynamic libraries, therefore leaving them out yields platform-independent msr files.

- Minor changes in libTFitPofB

- Added a user function for Uemura's ZF/LF dynamical spin-glass relaxation function
  see, e.g. Y.J. Uemura et al., Phys. Rev. B 31, 546-563 (1985)
  or Y.J. Uemura, Hyperfine Interact. 8, 739 (1981)

  This yields an overall Lorentzian field distribution with motional narrowing.
  However, the present implementation is at best some design study:
  The Lorentzian distribution of width "a" is modeled by Gaussian distributions of widths "sigma" from 0 to infinity.
  Some "resonable cut-offs" would be: 0.1*a < sigma < 10000*a
  Due to finite memory and computing power, in the present version these cut-offs are: 0.1*a < sigma < 40*a
  This yields depolarization functions overall similar to those in Uemura's articles.
  However, due to the low cut-off the first derivative of the depolarization function is zero in the limit t->0
  (what should not be the case for a true Lorentzan).
  Furthermore, the calculation is rather slow and the resulting functions should only be regarded as crude approximations.
  Therefore, at the moment this is far from being of practical use in analyzing experimental data.
2011-03-12 21:13:51 +00:00
nemu
d634a9286c added a magnetic proximity user function to the ASlibs 2011-03-10 11:45:02 +00:00
Bastian M. Wojek
8f5882897a Another try to build libCuba while working around gcc-bugs 2011-01-27 21:47:13 +00:00
Bastian M. Wojek
55071fb754 Updated the built-in version of the cuba library to version 2.1 within the BMWlibs.
Also the cuba-compiler-check for gcc-versions containing a certain bug (4.2, 4.4.3) has been adopted.
This still needs to be tested on systems having such a gcc.

If this new version of the built-in library should be installed,
first make sure that the old version is completely deinstalled (including headers, pkg-config-files, etc.).
2011-01-27 13:46:51 +00:00
Bastian M. Wojek
a89c70ae84 Fixed the linking of the BMWlibs under Cygwin by adding explicitly "-lgomp" to the linker-flags
which seems to be necessary for Cygwin and does not hurt under GNU/Linux.
2011-01-26 19:22:27 +00:00
nemu
f4d6e349fe added the option to split a user function into a global and run-block related part (see MUSR-134) 2010-11-10 13:13:00 +00:00
Bastian M. Wojek
c4dfc3cbce Fixed compilation of BMWlibs with gcc 3.x 2010-11-02 14:25:57 +00:00
nemu
5cd4283d30 added FIT_RANGE RESET | start end | s1 e1 s2 e2 .. sN eN command to the COMMAND block 2010-10-20 09:24:12 +00:00
Bastian M. Wojek
ce50cd396e Marginal updates to the parallelized parts of libFitPofB 2010-10-05 07:41:21 +00:00
Bastian M. Wojek
440d22bc99 * Changed the exit condition for a few external classes in case the xml-file is not found.
Until now the program terminated with a segmentation fault which was not very user friendly...

* Got rid of a strange construction in the TRIM.SP handler (vector<pair> -> map)
2010-06-20 10:34:49 +00:00
Bastian M. Wojek
3b3521eccf J'en ai marre! J'ai fait les modifications dans le code de MUD que D. Arseneau a proposé. Au moins il est possible maintenant d'utiliser l'architecture EM64T. 2010-01-23 15:12:15 +00:00
Bastian M. Wojek
74fd4d8538 A few changes to the previous commit. Basic features should work now everywhere (MUD only 32bit) 2010-01-10 22:20:10 +00:00
Bastian M. Wojek
ed7a15f025 Further steps to OS independence (at least Linux, Mac OS X, Cygwin) of musrfit 2010-01-10 12:52:14 +00:00
Bastian M. Wojek
b321f52dd1 Fixed some bugs in the configure-generation introduced with the cuba-support 2010-01-07 19:58:37 +00:00
Bastian M. Wojek
39f00e58a2 * Added initial builtin-support for a subset of Cuba
This has not been tested too much (so it might be better not to build the BMWlibs at the moment)
  In case shared library support will become available from T. Hahn, this support will be dropped again.

* Added a few " " to musrgui (calls to musrview, musrt0 and msr<->mlog)
  These are needed in the simple system commands to support paths with spaces and other strange things... :-(
2010-01-05 21:56:52 +00:00
Bastian M. Wojek
852eea9015 Fixing part of the cygwin-installation.
The shared BMWlibs cannot be built at the moment since libcuba is built static only.
I am still thinking about including the C-part of Cuba into the BMWlibs
if T.Hahn would not add shared library support to it.
2010-01-04 20:07:35 +00:00
Bastian M. Wojek
9c78332387 Fixed the recursive building of musrfit in case only a subset of optional plug-ins is selected (make dist is not working at the moment) 2009-12-30 19:03:06 +00:00
Bastian M. Wojek
a270d81853 Minor improvements in the build procedure of musrfit:
- removed most of the not used checks
- introduced a new check for Minuit2 in ROOT
- building of static libraries is disabled by default now
- disabled the F77-checks related to libtool
  (when support for Minuit will become available in musrfit checks for Fortran compilers will be added explicitly)

Some tests under different environments are still needed...
2009-12-27 21:08:16 +00:00
Bastian M. Wojek
199ff918f0 Nicer solution for fftw3_threads 2009-12-27 15:26:11 +00:00
nemu
19dee34c22 Workaround for a problem with FFTW3 threads in some external plugins... needs to be really fixed at some point. 2009-12-23 13:28:49 +00:00
Bastian M. Wojek
a6959ea2fc Integrated a few external musrfit plug-ins into the standard build process.
In order to enable building of the additional libraries supply the following options to the configure script:

--enable-BMWlibs (for libTFitPofB libLFRelaxation libGapIntegrals libCalcMeanFieldsLEM)
--enable-ASlibs (for libPNL_PippardFitter)

By default, both options are disabled.

At the moment I have tested it only in an SL5 32-bit environment.
Further tests are going to follow.

For a clean installation I suggest to remove any musrfit and plug-in installations before newly building musrfit.
2009-12-22 17:00:43 +00:00
Bastian M. Wojek
72f858b89a Small change to avoid problems when using Boost >= 1.38.0 2009-11-23 11:58:27 +00:00
nemu
e9cb6ded30 updated Class_MuSR_PSI from A.Amato/A.Raselli. Added support for MDU PSI binary format. Not rigorously tested yet. 2009-11-12 11:26:10 +00:00
Bastian M. Wojek
dca470e7bf Change compiling flags in order to get PSI-BIN support on MacOSX - hope it does not influence the linux compilation (unchecked) 2009-10-12 19:13:00 +00:00
nemu
dcb77c2e48 start adding triumf mud-file-format support. For a few days musrfit will be a bit frail. 2009-09-30 06:54:37 +00:00
Bastian M. Wojek
74cc2ad8d1 More PSIBIN changes... 2009-09-20 12:55:12 +00:00
Bastian M. Wojek
e3ac790371 PSIBIN-changes... 2009-09-20 11:35:01 +00:00
Bastian M. Wojek
a62dfc2da0 2009-09-03 07:35:00 +00:00
Bastian M. Wojek
e1d077050e Added the musrfit --title-from-data-file option to msr2data (-t) and made TFitPofB compilable with g++-4.4 2009-06-25 18:32:56 +00:00
Bastian M. Wojek
bcebaacfd9 Added ROOTAUXLIBS and ROOTAUXCFLAGS to the Makefiles 2009-06-22 13:54:55 +00:00
Bastian M. Wojek
1389b8e6c3 Fixed the shared library generation using libtool on Windows 2009-06-21 14:40:47 +00:00
Bastian M. Wojek
be9dbed4e1 Added a MacOSX detail 2009-06-20 16:43:19 +00:00
Bastian M. Wojek
b2e8de0e89 Added autotools Windows support 2009-06-20 13:57:11 +00:00
Bastian M. Wojek
117ccbf38a Few minor script and flag changes 2009-06-20 05:50:09 +00:00
Bastian M. Wojek
b5016637fd Added autotool-support for building musrfit - some additional tests are needed, the old Makefiles are still around 2009-06-19 20:37:06 +00:00