Sammenslåing av student-/ansatt- hjemmeområder og Igor Pro: Forskjell mellom sider

Fra IThjelp
(Forskjell mellom sider)
Ingen redigeringsforklaring
 
m (Igor 6 Pro flyttet til Igor 6 Pro installasjon på Linux: Mer beskrivende tittel)
 
Linje 1: Linje 1:
{{UD}}
{{UD}}
Vi er nå ferdig med omlegging til ny hjemmekatalogløsning for ansatte og tar sikte på å flytte også studentene over på den nye løsningen i løpet av helgen 6-8 August 2010.
=Igor 6 Pro in GNU/Linux using wine=
The following setup is done using Fedora 12 and wine version 1.1.38


For de aller fleste studenter vil ikke denne omleggingen medføre noen merkbar endring.
==Running the setup==
Use a clean wine folder. Either remove your old or create an new prefix
<pre>$ export WINEPREFIX=$HOME/.igor6</pre>
Igor6 requires a html render, sometimes wine fails to install it on its own, so we will do it manually.
To install Gecko we have to download winetrics.
<pre>$ wget http://kegel.com/wine/winetricks</pre>
Run winetrics
<pre>$ env WINEPREFIX=~/.igor6 sh winetricks gecko</pre>
Now we can start the Igor 6 Pro installation.
<pre> $ wine setupIgor6.exe</pre>
The install should run smoothly with default settings, just click next and ok until the installer starts.


Vi har imidlertid i underkant av 1000 brukere som har både student- og ansattkonto. Siden den nye hjemmekatalogløsningen baserer seg på en hjemmekatalog per bruker vil vi måtte slå sammen innholdet i student- og ansatthjemmekatalog for de brukere som har to kontoer.
==Starting and activate igor==
You should have a wine folder in your start menu, under this you will find Igor Pro.
* Activate the product with your activation key. (Current holder of the license is Leif J. Sæthre at the institute of Chemistry)
* Skip the online registration.
Your installation of Igor 6 should now be complete, final steps is configuration of sound and some custom macros.


'''Dersom du kun har ansatt- eller studentkonto er ikke denne informasjonen relevant for deg.'''
==Sound==
For some simulations in Igor 6 sound is necessary, run
<pre>winecfg</pre>
* Select the Audio tab
* Set Hardware Acceleration to Emulation
* Select ok


Er du usikker på om du har to kontoer kan du sjekke dette ved for eksempel å logge på http://webmail.uib.no mot serverene RASMUS (for studentkonto) og ALF (for ansattkonto). Kommer du inn på begge disse serverene med ditt vanlige brukernavn har du to kontoer.
==Macros==
All macros should be placed in the "User Procedures" folder under Igor, and symlinked to the "Igor Procedures" folder.
In our


==Endringer for de som har to kontoer==
===Installation of SPANCF macros (SPectral ANalysis by Curve Fitting)===
Under omlegging vil vi gjøre følgende for de som har både student- og ansattkonto:
<pre>$ unzip User\ Procedures.zip</pre>
# Kopiere over innholdet fra studenthjemmekatalog i en undermappe kalt "STUDENT_hjemmekatalog" i ansatthjemmekatalogen.
This will give the following files:
# Endre studentkontoen slik at det er innholdet i ansatthjemmekatalog som blir synlig ved innlogging.
<pre>Archive:  User Procedures
# Du vil altså etter omleggingen kun ha en hjemmekatalog (den samme) når du logger inn både som student og ansatt.
  creating: User Procedures/
  inflating: User Procedures/About User Procedures.txt 
  inflating: User Procedures/amob.ipf 
  inflating: User Procedures/AutoAdd.ipf 
  inflating: User Procedures/Curve_Fitting.ifn 
  inflating: User Procedures/Errorlimits.ipf 
  inflating: User Procedures/fiterr.ipf 
  inflating: User Procedures/FitRes.ipf 
  inflating: User Procedures/Load2ndfit.ipf 
  inflating: User Procedures/LoadASCIIspec.ipf 
  inflating: User Procedures/Morse fitting.ifn 
  inflating: User Procedures/PCI shape.rtf 
  inflating: User Procedures/PrepFit.ipf 
  inflating: User Procedures/README.txt 
  inflating: User Procedures/Scienta.ipf 
  inflating: User Procedures/Specgen.ipf 
  inflating: User Procedures/UserCurve.ipf</pre>
Move all the files to the "User Procedures" folder under Igor 6
<pre>$ mv User\ Procedures/* ~/.igor6/drive_c/Program\ Files/WaveMetrics/Igor\ Pro\ Folder/User\ Procedures/</pre>
Now we have to make symlinks from all the files we moved into the "User Procedures" folder to the "Igor Procedures" folder
<pre>
$ cd ~/.igor6/drive_c/Program\ Files/WaveMetrics/Igor\ Pro\ Folder/Igor\ Procedures
ln -s ../User\ Procedures/amob.ipf .
ln -s ../User\ Procedures/AutoAdd.ipf .
ln -s ../User\ Procedures/Curve_Fitting.ifn .
ln -s ../User\ Procedures/Errorlimits.ipf .
ln -s ../User\ Procedures/fiterr.ipf .
ln -s ../User\ Procedures/FitRes.ipf .
ln -s ../User\ Procedures/Load2ndfit.ipf .
ln -s ../User\ Procedures/LoadASCIIspec.ipf .
ln -s ../User\ Procedures/Morse\ fitting.ifn .
ln -s ../User\ Procedures/PCI\ shape.rtf .
ln -s ../User\ Procedures/PrepFit.ipf .
ln -s ../User\ Procedures/Scienta.ipf .
ln -s ../User\ Procedures/Specgen.ipf .
ln -s ../User\ Procedures/UserCurve.ipf .</pre>


==Dersom man mangler underkataloger i epost etter omleggingen==
When you start Igor you should have the following items in your menu.
In the Macros tab:
<pre>
* LoadSecondFit
* AddWaves
* CorrectStep
* LoadASCIISpec
* LOADASCIIAll
* SpecGen
* ScientaLoad
* ScientaPrint
* OpenbyList
* LevMarq</pre>
In the Fitting tab:
<pre>
* MakeNoisless
* FitErrors_MonteCarlo
* MakeDataWave
* Background
* InitPeakTable
* LoadFit
* LevMarq
* Simplex
* AutoRestart
* RestoreInitial
* SaveFit
* ResultTable
* Tags
* Spectra
* Setup
* Errorlimits</pre>


Flytting av studenthjemmekatalog medfører at også <code>mail/</code>mappen i studenthjemmekatalogen blir flyttet - dvs den ligger ikke i roten av hjemmekatalogen lengre. Dette er mappen som inneholder alle "katalogene" i epostboksen din. Dersom du sorterer studenteposten din i underkataloger vil du måtte flytte denne mappen tilbake til riktig sted. Dette gjøres på følgende måte:
[[Kategori:Bruksanvisninger]]
 
[[Kategori:Linuxprogramvare]]
'''Merk:''' ''det som følger involverer flytting av en eller flere filer som inneholder epost - og det er mulig å miste eposter dersom man ikke gjør ting riktig. Les derfor igjennom instruksjonene først og ta kontakt med brukerstøtte dersom du føler du ikke helt forstår hva som skal gjøres.''
[[Kategori:Privat datamaskin]]
 
===Windows===
# Dobbeltklikk på "Min Datamaskin"
# Gå inn i hjemmekatalogen ([brukernavn] på 'Hjemmekataloger for Studenter og Ansatte (nturt)')
# Åpne mappen STUDENT_hjemmekatalog
# Åpne mappen mail
# Merk alle filer i mail-mappen, velg "klipp ut"
# Gå tilbake til hjemmekatalogen
# Gå inn i mappen mail
# Velg "lim inn" - får du spørsmål om å skrive over filer, ikke gjør dette. Hopp heller over dissen filene, endre navn på dem og prøv en gang til.
===Linux===
# Start et terminalvindu
# Kjør kommandoen <code>mv -i ~/STUDENT_hjemmekatalog/mail ~/.</code> - får du spørsmål om å overskrive filer, svar nei. Deretter endrer du navn på de aktuelle filene under STUDENT_hjemmekatalog/mail/ og prøver igjen.
 
Får du problemer eller trenger assistanse, ta kontakt med Brita på 84700 eller via https://bs.uib.no/.

Sideversjonen fra 3. aug. 2010 kl. 12:42


Igor 6 Pro in GNU/Linux using wine

The following setup is done using Fedora 12 and wine version 1.1.38

Running the setup

Use a clean wine folder. Either remove your old or create an new prefix

$ export WINEPREFIX=$HOME/.igor6

Igor6 requires a html render, sometimes wine fails to install it on its own, so we will do it manually. To install Gecko we have to download winetrics.

$ wget http://kegel.com/wine/winetricks

Run winetrics

$ env WINEPREFIX=~/.igor6 sh winetricks gecko

Now we can start the Igor 6 Pro installation.

 $ wine setupIgor6.exe

The install should run smoothly with default settings, just click next and ok until the installer starts.

Starting and activate igor

You should have a wine folder in your start menu, under this you will find Igor Pro.

  • Activate the product with your activation key. (Current holder of the license is Leif J. Sæthre at the institute of Chemistry)
  • Skip the online registration.

Your installation of Igor 6 should now be complete, final steps is configuration of sound and some custom macros.

Sound

For some simulations in Igor 6 sound is necessary, run

winecfg
  • Select the Audio tab
  • Set Hardware Acceleration to Emulation
  • Select ok

Macros

All macros should be placed in the "User Procedures" folder under Igor, and symlinked to the "Igor Procedures" folder. In our

Installation of SPANCF macros (SPectral ANalysis by Curve Fitting)

$ unzip User\ Procedures.zip

This will give the following files:

Archive:  User Procedures
   creating: User Procedures/
  inflating: User Procedures/About User Procedures.txt  
  inflating: User Procedures/amob.ipf  
  inflating: User Procedures/AutoAdd.ipf  
  inflating: User Procedures/Curve_Fitting.ifn  
  inflating: User Procedures/Errorlimits.ipf  
  inflating: User Procedures/fiterr.ipf  
  inflating: User Procedures/FitRes.ipf  
  inflating: User Procedures/Load2ndfit.ipf  
  inflating: User Procedures/LoadASCIIspec.ipf  
  inflating: User Procedures/Morse fitting.ifn  
  inflating: User Procedures/PCI shape.rtf  
  inflating: User Procedures/PrepFit.ipf  
  inflating: User Procedures/README.txt  
  inflating: User Procedures/Scienta.ipf  
  inflating: User Procedures/Specgen.ipf  
  inflating: User Procedures/UserCurve.ipf

Move all the files to the "User Procedures" folder under Igor 6

$ mv User\ Procedures/* ~/.igor6/drive_c/Program\ Files/WaveMetrics/Igor\ Pro\ Folder/User\ Procedures/

Now we have to make symlinks from all the files we moved into the "User Procedures" folder to the "Igor Procedures" folder

$ cd ~/.igor6/drive_c/Program\ Files/WaveMetrics/Igor\ Pro\ Folder/Igor\ Procedures
ln -s ../User\ Procedures/amob.ipf .
ln -s ../User\ Procedures/AutoAdd.ipf .
ln -s ../User\ Procedures/Curve_Fitting.ifn .
ln -s ../User\ Procedures/Errorlimits.ipf .
ln -s ../User\ Procedures/fiterr.ipf .
ln -s ../User\ Procedures/FitRes.ipf .
ln -s ../User\ Procedures/Load2ndfit.ipf .
ln -s ../User\ Procedures/LoadASCIIspec.ipf .
ln -s ../User\ Procedures/Morse\ fitting.ifn .
ln -s ../User\ Procedures/PCI\ shape.rtf .
ln -s ../User\ Procedures/PrepFit.ipf .
ln -s ../User\ Procedures/Scienta.ipf .
ln -s ../User\ Procedures/Specgen.ipf .
ln -s ../User\ Procedures/UserCurve.ipf .

When you start Igor you should have the following items in your menu. In the Macros tab:

* LoadSecondFit
* AddWaves
* CorrectStep
* LoadASCIISpec
* LOADASCIIAll
* SpecGen
* ScientaLoad
* ScientaPrint
* OpenbyList
* LevMarq

In the Fitting tab:

* MakeNoisless
* FitErrors_MonteCarlo
* MakeDataWave
* Background
* InitPeakTable
* LoadFit
* LevMarq
* Simplex
* AutoRestart
* RestoreInitial
* SaveFit
* ResultTable
* Tags
* Spectra
* Setup
* Errorlimits