Page 1 of 1

GPU version examples?

Posted: 05 Aug 2019, 00:36
by mertens
Hello,

I am quite new to elegant so I apologize if my question is very basic.

I managed to install and run elegant and Pelegant, but I could not figure out how to run the GPU version. Are there any examples available to run the GPU version?

Thank you in advance.

Best,
Tom Mertens

Re: GPU version examples?

Posted: 07 Aug 2019, 09:15
by michael_borland
Tom,

You don't need to do anything special, just use "gpu-elegant" in place of "elegant".

--Michael

Re: GPU version examples?

Posted: 12 Aug 2019, 03:44
by mertens
Hi Michael,

Thanks for your quick reply.

When trying to install the GPU version using the Build-AOP-RPMs script I run into the following error message:

error renaming "../../bin/linux-x86_64/elegant": no such file or directory
while executing
"file rename ../../bin/$env(EPICS_HOST_ARCH)/elegant ../../bin/$env(EPICS_HOST_ARCH)/gpu-elegant"
invoked from within
"if {$Build(ELEGANT)} {

puts "Downloading Elegant source code"

if {$ELEGANTSVN} {
eval exec $sudo svn -q --config-dir ~${owner}/.subversion ..."
(file "Build-AOP-RPMs.tcl" line 708)

Best,
Tom

Re: GPU version examples?

Posted: 12 Aug 2019, 09:31
by soliday
What operating system and version are you on and what version of CUDA do you have installed?