Documentation for setting up command line interface after installing Julia Pro?


#1

Hi, I’m unable to find the complete documentation for setting up the command line. At this time, I have completed the following:

  1. installed JuliaPro

  2. adding the following environment variables to my .profile

    export JULIA_HOME=/Applications/JuliaPro-0.6.2.2.app
    export PATH=${JULIA_HOME}/Contents/Resources/julia/Contents/Resources/julia/bin:${PATH}
    
  3. using the command line

     $ julia
    
    

I see the following error in the terminal:

      ERROR: could not load library "/Applications/JuliaPro-0.6.2.2.app/../lib/julia/sys.dylib"
dlopen(/Applications/JuliaPro-0.6.2.2.app/../lib/julia/sys.dylib, 6): image not found

#2

Hi, I was able to resolve the issue by doing the following:

export JULIA_HOME=/Applications/JuliaPro-0.6.2.2.app
export JULIA_RESOURCES_HOME=${JULIA_HOME}/Contents/Resources/julia/Contents/Resources
export PATH=${JULIA_RESOURCES_HOME}/julia/bin:${PATH}
export DYLD_LIBRARY_PATH=${JULIA_RESOURCES_HOME}/julia/lib:${DYLD_LIBRARY_PATH}
export DYLD_LIBRARY_PATH=${JULIA_RESOURCES_HOME}/julia/lib/julia:${DYLD_LIBRARY_PATH}

However, I would like to verify the above setup with actual Julia or JuliaPro documentation.


#3

You could open an issue here:


#4

Hi, thanks for the reply but this doesn’t seem to be an active repository at all. After reading through the various Github.com repositories and sites, I have come to this conclusion:

I’ll add this to my list of questions for when I see Mike Inness on Tuesday at the upcoming Julia Meetup.


#5

It is my impression that they created the repo just for issues. It is true that you would open the first one.

For IDE alternatives, see VS Code (release info) and Atom/Juno.


#6

For anyone using Modules, my module file for Julia is
Note JULIA_LOAD_PATH

#%Module1.0#######################################################################
## hwloc modulefile
##
proc ModulesHelp { } {

        puts stderr "\tAdds the Julia language to your environment"
}

module-whatis   "Adds Julia to your environment"

set                ROOT /hpc/data/hpc-team/jhearns/julia-d386e40c17

setenv             JULIA_HOME $ROOT/bin
setenv             JULIA_PKGDIR $ROOT/.julia
setenv             JULIA_HISTORY $ROOT/.julia_history
setenv             JULIA_LOAD_PATH $ROOT/lib/julia

prepend-path        PATH         $ROOT/bin