This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
informatica:hp_xw4400_400sb_topspin31 [2014/06/26 11:34] miquel [Problemes amb 'cf'] |
informatica:hp_xw4400_400sb_topspin31 [2014/06/26 11:52] miquel [Problemes amb 'cf'] |
||
---|---|---|---|
Line 944: | Line 944: | ||
Cada cop que s' | Cada cop que s' | ||
- | <code> | + | <file> |
hconfserver | hconfserver | ||
Line 956: | Line 956: | ||
link must be done manually with | link must be done manually with | ||
ln / | ln / | ||
- | </code> | + | </file> |
Per resoldre provisionalment el problema, | Per resoldre provisionalment el problema, | ||
* he escrit un petit //script// amb les comandes a executar per crear els enllaços i copiar un fitxer ('' | * he escrit un petit //script// amb les comandes a executar per crear els enllaços i copiar un fitxer ('' | ||
* he configurat el sistema perquè l' | * he configurat el sistema perquè l' | ||
+ | |||
+ | Així doncs, després d' | ||
<WRAP center round tip 60%> | <WRAP center round tip 60%> | ||
- | **Després d' | ||
* obre una finestra per comandes, i | * obre una finestra per comandes, i | ||
* escriu la següent ordre:\\ '' | * escriu la següent ordre:\\ '' | ||
</ | </ | ||
+ | el resultat de la comanda hauria de ser semblant a, | ||
+ | |||
+ | < | ||
+ | sermnuab@cie-55-31: | ||
+ | |||
+ | creating file '/ | ||
+ | `/ | ||
+ | 442373 -rw-rw-r-- 2 nmrsu nmrsu 686 Oct 5 2012 / | ||
+ | 442373 -rw-rw-r-- 2 nmrsu nmrsu 686 Oct 5 2012 / | ||
+ | |||
+ | creating file '/ | ||
+ | `/ | ||
+ | 368896 -rwxr-xr-x 2 nmrsu nmrsu 3927964 Oct 5 2012 / | ||
+ | 368896 -rwxr-xr-x 2 nmrsu nmrsu 3927964 Oct 5 2012 / | ||
+ | |||
+ | creating file '/ | ||
+ | `/ | ||
+ | 368896 -rwxr-xr-x 3 nmrsu nmrsu 3927964 Oct 5 2012 / | ||
+ | 368896 -rwxr-xr-x 3 nmrsu nmrsu 3927964 Oct 5 2012 / | ||
+ | |||
+ | creating file '/ | ||
+ | `/ | ||
+ | 368675 -rwxr-xr-x 1 nmrsu nmrsu 2988748 Jun 26 11:46 / | ||
+ | </ | ||
+ | |||
+ | Pels més curiosos, aquest és el contingut del script, | ||
+ | |||
+ | < | ||
+ | #!/bin/sh | ||
+ | # | ||
+ | # | ||
+ | # Copyright (c) 2014 | ||
+ | # SeRMN, Universitat Autonoma de Barcelona | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # When TopSpin 3.x runs on a Debian GNU/Linux, the ' | ||
+ | # fails to create several hard links needed to run the software, | ||
+ | # and to (re)create the program ' | ||
+ | # | ||
+ | # To fix this problem, | ||
+ | # 1. run ' | ||
+ | # being able to create hardlinks. | ||
+ | # 2. run this script. It requires root permissions to create, hence, | ||
+ | # this script upon running the ' | ||
+ | # | ||
+ | # | ||
+ | |||
+ | echo "" | ||
+ | |||
+ | # link pulsprog_X to pp_birds | ||
+ | echo " | ||
+ | ln -fv / | ||
+ | ls -li / | ||
+ | echo "" | ||
+ | |||
+ | # link go to go4 | ||
+ | echo " | ||
+ | ln -fv / | ||
+ | ls -li / | ||
+ | echo "" | ||
+ | |||
+ | # link acq_control to go4 | ||
+ | # | ||
+ | # NOTE: apparently, this link is only required on the AvanceIII-600. | ||
+ | # Remove or comment out these lines on the AvanceIII-400sb. | ||
+ | # | ||
+ | echo " | ||
+ | ln -fv / | ||
+ | ls -li / | ||
+ | echo "" | ||
+ | |||
+ | # copy shimcntl to / | ||
+ | echo " | ||
+ | cp -fv / | ||
+ | chown nmrsu:nmrsu / | ||
+ | chmod 755 / | ||
+ | ls -li / | ||
+ | echo "" | ||
+ | </ | ||
+ | i aquesta la línia on es configura el programa '' | ||
+ | < | ||
+ | # Allow sermnuab to fix some problems related to running Topspin ' | ||
+ | sermnuab | ||
+ | </ | ||