From farhi at ill.fr Wed Oct 14 18:33:25 2015 From: farhi at ill.fr (farhi) Date: Wed, 14 Oct 2015 18:33:25 +0200 Subject: [Ifit-users] iFit 1.7 released Message-ID: <9945dd4de5fab1a06a964b82fe16d7f6@ill.fr> Dear iFit users, I'm happy to release the version 1.7 of iFit, dated Oct 14th 2015. It provides the following changes wrt the previous version 1.6: OPUS FT-IR, LLB TAS, LabView LVM and TDMS file format import. Fixed curvature in ResLibCal/Rescal5/Popovici method. Added predefined TAS configurations in ResLibCal and cross-checked computation methods. Fix TAS angles in 3D view. Initial support for nD Gaussians and 4D TAS convolution. Added Gaussian smoothing. Compatibility with Matlab new graphic objects (R2014b). Better handling of arguments to standalone iFit. Added fill method to remove NaN's in iData objects. iFunc 4D S(q,w) models from either analytical or ab-initio methods. The 4D S(q,w) models using external software (ASE and Quantum Espresso) do not work properly from the standalone version. If you need these, consider buying a Matlab license. The ResLibCal application for neutron TAS has been upgraded, and can be used for 4D convolution of models (iFunc). Launch ResLibCal and access its Help menu for more information about capabilities. It is distributed as source code (req. Matlab license), and as standalone for Linux 64 bits, Windows 64bits and Mac OS 64 bits (which all do not require any Matlab license). Documentation and Installation instructions at . If you find bugs, please submit tickets at or send me an email. The source code is fully available at . You can contribute by forking, then modify, and actually send a pull request. If this seems completely non-sense to you, just send me suggestions or any modification to the code via email. I'll be happy to have your contributions for the next releases. If you use this software and produce valuable results, please cite: E. Farhi, Y. Debab and P. Willendrup, J. Neut. Res., 17 (2013) 5. DOI: 10.3233/JNR-130001 Cheers, Emmanuel. -- FARHI Emmanuel Groupe DS/CS, ILL4/156, Tel (33) 4 76 20 71 35 ILL, Grenoble -------------- next part -------------- An HTML attachment was scrubbed... URL: From farhi at ill.fr Fri Nov 13 11:03:22 2015 From: farhi at ill.fr (Emmanuel FARHI) Date: Fri, 13 Nov 2015 11:03:22 +0100 Subject: [Ifit-users] McStas from iFit under Mac OSX Message-ID: <5645B56A.8010302@ill.fr> An HTML attachment was scrubbed... URL: From farhi at ill.fr Thu Nov 19 14:31:59 2015 From: farhi at ill.fr (farhi) Date: Thu, 19 Nov 2015 14:31:59 +0100 Subject: [Ifit-users] ifit: external programs and library errors In-Reply-To: <4a457bb47b1c09a48bfeba68ba918174@unizar.es> References: <4a457bb47b1c09a48bfeba68ba918174@unizar.es> Message-ID: <051b95c2e4693b6f23a4851baf6f794c@ill.fr> Hi Victor, This issue is related to libraries shipped by MATLAB being older than that of the system. In your case this relates to LIBGCC_S. Other libraries may also be concerned, e.g. LIBGFORTRAN. I suggest an iterative solution. REMOVE THE MATLAB LIBRARY % sudo mv /opt/MATLAB/MATLAB_Compiler_Runtime/v713/sys/os/glnxa64/libgcc_s.so.1 /opt/MATLAB/MATLAB_Compiler_Runtime/v713/sys/os/glnxa64/libgcc_s.so.1.org then try again in case MATLAB would seek for the library from the system. IF THIS DOES NOT WORK, COPY THE SYSTEM LIBRARY IN PLACE OF THE MATLAB ONE % locate libgcc_s /lib/x86_64-linux-gnu/libgcc_s.so.1 /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc_s.so % sudo cp /lib/x86_64-linux-gnu/libgcc_s.so.1 /opt/MATLAB/MATLAB_Compiler_Runtime/v713/sys/os/glnxa64/libgcc_s.so.1 Tell me if this works. Emmanuel. Le 2015-11-19 14:18, laliena a ?crit : > Dear Emmanuel, > > I am trying to use ifit for optimizing a guide, as I did one year ago, > and it does not work. There is a problem with compilation. > The instrument can be compiled and run on the command line with the same > parameters. The compilation gives many warnings but no error. > > Do you know what is happening and how to solve the problem? Below I copy > the error message from ifit. > > Many thanks in advance. > > Best whishes, > Victor > > ----------------------------------------- > > 1.7 iFit/iData (Oct. 14, 2015) by E.Farhi, P. Willendrup and Y.Debab, > (c) ILL/DS/CS EUPL. $Date$ > > ** Starting iFit on 19-Nov-2015 14:09:59 > Type 'help' to learn how to use this software. > iFit help is fully available at . > Matlab help is fully available at > . > Type 'exit' or Ctrl-C to exit. > > iFit:1>> argument optim_multi.m > Reading file > /home/victor/Work/neutrons/NMI3/simulations/IN5_guide/simulations/whole_instr/optim_multi.m > > options = > > monitors: 'sampleMon_nD' > TolFun: '0.1%' > > mcstas: optimize: mcrun ILL_H16_IN5_new.instr --ncount=100000000 > --dir=run_1 --mpi=4 he12=41 re21=0.5 re22=0.5 hi11=41 hi12=31 ri21=0.5 > ri22=0.5 mExt=2 mInt=2 > Can't load '/usr/lib/perl5/auto/PGPLOT/PGPLOT.so' for module PGPLOT: > /opt/MATLAB/MATLAB_Compiler_Runtime/v713/sys/os/glnxa64/libgcc_s.so.1: > version `GCC_4.3.0' not found (required by > /usr/lib/x86_64-linux-gnu/libgfortran.so.3) at > /usr/lib/perl/5.18/DynaLoader.pm line 184. > at /usr/share/mcstas/2.2a/tools/Perl/perl/mccode_config.perl line 123. > Compilation failed in require at > /usr/share/mcstas/2.2a/tools/Perl/perl/mccode_config.perl line 123. > Compilation failed in require at /usr/bin/mcrun line 55. > > Error when evaluating expression: > p.he12=[1.0 41 70]; % range min,start,max > p.re21=[0.0 0.5 1.0]; > p.re22=[0.0 0.5 1.0]; > p.hi11=[1.0 41 70]; > p.hi12=[1.0 31 52]; > p.ri21=[0.0 0.5 1.0]; > p.ri22=[0.0 0.5 1.0]; > p.mExt=2; > p.mInt=2; > > --------------------------------------------- -- FARHI Emmanuel Groupe DS/CS, ILL4/156, Tel (33) 4 76 20 71 35 ILL, Grenoble Links: ------ [1] http://ifit.mccode.org [2] http://www.mathworks.com/help/techdoc -------------- next part -------------- An HTML attachment was scrubbed... URL: