Hello I can see that I have to alter the .bash_profile but being completely new to Unix and the terminal I’d be grateful if someone could take me through the process? Thanks
- Open a terminal
- With your favorite editor create/open a file called .bash_profile
- The content of the file should be:
export PATH=/usr/local/cuda/bin:$PATH
export DYLD_LIBRARY_PATH=/usr/local/cuda/lib:$DYLD_LIBRARY_PATH - Save and close the file
- Close and reopen the terminal (or parse the script with " . .bash_profile")
Thanks for the prompt reply
I opened up a terminal window and ran vi .bash_profile and inputted the two export scripts and saved it as .bash_profile I got prompted to be sure that i wanted to use the prefix “.” as it would be reserved for system entries.
I closed and reopened terminal and tried to run /Developer/CUDA/bin/darwin/release/particles I get the same error;
CMB-MacBook-Pro-2:~ CMB$ /Developer/CUDA/bin/darwin/release/particles
dyld: Library not loaded: @rpath/libcudart.dylib
Referenced from: /Developer/CUDA/bin/darwin/release/particles
Reason: image not found
Trace/BPT trap
CMB-MacBook-Pro-2:~ CMB$
the examples are saved at /Developer/CUDA/bin/darwin/release/“particles, nbody, etc”
I should probably bow humbly or something at this point but I’d really love to see some of this stuff working particularly the fluid dynamics and particle effects
PS
macbook pro unibody Oct 2008 revision set to run off the Nvidia 9600M GT
hopefully I have also installed the toolkit and sdk 2.1 correctly
Ok Simples,
I opened up Transmit and looked for the damned hidden .bash_profile and edited it.
Particles, Volumetric rendering, Fluid dynamics.
Wow
Doffs caff
Bows humbly, shuffles off into the shadows to play with the Xcode plugin