stadelmanma / netl-ap-map-flow

A fracture flow modeling package utilizing a modified local cubic law approach with OpenFoam and ParaView compatibility.
GNU General Public License v3.0
5 stars 4 forks source link

Add instructions to README about using with babun #54

Closed stadelmanma closed 7 years ago

stadelmanma commented 7 years ago

I could provide guidance on how to get Anaconda working unless there is a more formal guide somewhere else.

stadelmanma commented 7 years ago

So far what is needed is adding the following to the babun ~/.zshrc file

# Append Anaconda directories to override python 2.7 in /usr/bin/
PATH="/cygdrive/c/{path to Anaconda3 directory}:$PATH"
PATH="/cygdrive/c/{path to Anaconda3 directory}/Scripts:$PATH"
PATH="/cygdrive/c/{path to Anaconda3 directory}/Library/bin:$PATH"
export PATH

#alias python3 to work interactively
alias python3="/cygdrive/c/{path to Anaconda3 directory}/python.exe -i"

Run this script to link Anaconda python to the expected python3

ln -s "/cygdrive/c/{path to Anaconda3 directory}/python.exe" "/usr/local/bin/python3"
stadelmanma commented 7 years ago

I'll also try to clean up and clarify the installation instructions, mainly adding a "For all Systems" step and instructing to install Anaconda for only yourself if possible to avoid needing admin rights.