genetic optimizer installation without sudo
Posted: 02 Feb 2020, 21:14
Hi, all.
I'm studying the designing storage ring, especially optimize DA with the mogaRing example.
But when I executed the "geneticOptimizer", I encountered following error.
* Error: When I ran the mogaRing example, I encountered following error
message;
-------------------------------------------------------------------------------------------
[a1095a01@login02 mogaRing]$ geneticOptimizer -input optim1.sdds -reduce 1
invalid command name "sdds"
while executing
"LoadAndCheckInputFile"
(file "/home01/a1095a01/oag/rpm/usr/bin/geneticOptimizer" line 789)
-------------------------------------------------------------------------------------------
* Suspect:
I'm not the root of the cluster and cannot get permission to use sudo command, so I install the SDDS, elegant, and OAGTcltk with the command, "rpm2cpio ~.rpm |cpio -idv."
SDDS and elegant are installed without any problem and running very well.
But when I install OAGTcltk, I encountered following error;
-------------------------------------------------------------------------------------------
/usr/bin/maintainReadback
cpio: /usr/bin/tclsh: Cannot symlink to
`/home01/a1095a01/oag/rpm/usr/bin/oagtclsh': Permission denied
/usr/bin/oagtclsh
cpio: /usr/bin/wish: Cannot symlink to
`/home01/a1095a01/oag/rpm/usr/bin/oagwish': Permission denied
-------------------------------------------------------------------------------------------
Without root I could not make symlink of "/usr/bin/tclsh" and "/usr/bin/wish".
So I just copy the "tclsh" and "wish" to /home01/a1095a01/oag/rpm/usr/bin and rename those files as 'oagtclsh' and 'oagwish'.
Then I encountered above error; "invalid command name "sdds""
To solve this problem, would you give me any advice?
Thank you for your reading!
Sincerely,
Ingyo Jeong
I'm studying the designing storage ring, especially optimize DA with the mogaRing example.
But when I executed the "geneticOptimizer", I encountered following error.
* Error: When I ran the mogaRing example, I encountered following error
message;
-------------------------------------------------------------------------------------------
[a1095a01@login02 mogaRing]$ geneticOptimizer -input optim1.sdds -reduce 1
invalid command name "sdds"
while executing
"LoadAndCheckInputFile"
(file "/home01/a1095a01/oag/rpm/usr/bin/geneticOptimizer" line 789)
-------------------------------------------------------------------------------------------
* Suspect:
I'm not the root of the cluster and cannot get permission to use sudo command, so I install the SDDS, elegant, and OAGTcltk with the command, "rpm2cpio ~.rpm |cpio -idv."
SDDS and elegant are installed without any problem and running very well.
But when I install OAGTcltk, I encountered following error;
-------------------------------------------------------------------------------------------
/usr/bin/maintainReadback
cpio: /usr/bin/tclsh: Cannot symlink to
`/home01/a1095a01/oag/rpm/usr/bin/oagtclsh': Permission denied
/usr/bin/oagtclsh
cpio: /usr/bin/wish: Cannot symlink to
`/home01/a1095a01/oag/rpm/usr/bin/oagwish': Permission denied
-------------------------------------------------------------------------------------------
Without root I could not make symlink of "/usr/bin/tclsh" and "/usr/bin/wish".
So I just copy the "tclsh" and "wish" to /home01/a1095a01/oag/rpm/usr/bin and rename those files as 'oagtclsh' and 'oagwish'.
Then I encountered above error; "invalid command name "sdds""
To solve this problem, would you give me any advice?
Thank you for your reading!
Sincerely,
Ingyo Jeong