-
Notifications
You must be signed in to change notification settings - Fork 1
Description
I tried to follow the installation instructions. it needs some updates.
- in which directory should the users clone ucvm_plotting
- the unpack-dist seems to complete correctly, but the first call to plot_depth_profile.py fails, seemingly because of the version of python being called.
Can the installations instructions be updated to include more details on how to perform this installation?
Running examples_programs_mesh ucvm2mesh_mpi_layer_cvmsi
[SUCCESS]
Running examples_programs_mesh ucvm2mesh_mpi_layer_cvms
[SUCCESS]
(base) [maechlin@discovery2 tests]$ pwd
/project/scec_608/maechlin/ucvm_bin/tests
(base) [maechlin@discovery2 tests]$ cd ..
(base) [maechlin@discovery2 ucvm_bin]$ ls
bin conf include lib man model tests utilities work
(base) [maechlin@discovery2 ucvm_bin]$ cd ..
(base) [maechlin@discovery2 maechlin]$ ls
anaconda3 fdm rcf-104 scec-01 scec-04 scecbbp tx_logs ucvm_bin ucvm_errors
dev hypocenter scec-00 scec-02 scec-06 scec_users ucvm ucvm_bin_21.7
(base) [maechlin@discovery2 maechlin]$ git clone https://github.com/sceccode/ucvm_plotting.git
Cloning into 'ucvm_plotting'...
remote: Enumerating objects: 1236, done.
remote: Counting objects: 100% (160/160), done.
remote: Compressing objects: 100% (131/131), done.
remote: Total 1236 (delta 84), reused 71 (delta 25), pack-reused 1076
Receiving objects: 100% (1236/1236), 2.90 MiB | 0 bytes/s, done.
Resolving deltas: 100% (637/637), done.
(base) [maechlin@discovery2 maechlin]$ cd ucvm_plotting/
(base) [maechlin@discovery2 ucvm_plotting]$ ls
CODE_OF_CONDUCT.md CREDITS.md examples make-dist pycvm README.md setup.py ucvm_plotting unpack-dist
CONTRIBUTING.md dist LICENSE.txt MANIFEST.in pyproject.toml setup.cfg tests ucvmPlotting.yml utilities
(base) [maechlin@discovery2 ucvm_plotting]$ ./unpack-dist
Processing ./dist/ucvm_plotting-0.0.2.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting basemap
Downloading basemap-1.3.2-cp38-cp38-manylinux1_x86_64.whl (862 kB)
|████████████████████████████████| 862 kB 35.4 MB/s
Requirement already satisfied: numpy in /project/scec_608/maechlin/anaconda3/lib/python3.8/site-packages (from ucvm-plotting==0.0.2) (1.20.1)
Requirement already satisfied: packaging in /project/scec_608/maechlin/anaconda3/lib/python3.8/site-packages (from ucvm-plotting==0.0.2) (20.9)
Requirement already satisfied: matplotlib in /project/scec_608/maechlin/anaconda3/lib/python3.8/site-packages (from ucvm-plotting==0.0.2) (3.3.4)
Collecting basemap-data<1.4,>=1.3.2
Downloading basemap_data-1.3.2-py2.py3-none-any.whl (30.5 MB)
|████████████████████████████████| 30.5 MB 101.1 MB/s
Collecting numpy
Downloading numpy-1.22.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.8 MB)
|████████████████████████████████| 16.8 MB 90.5 MB/s
Requirement already satisfied: pyproj<3.4.0,>=1.9.3 in /project/scec_608/maechlin/anaconda3/lib/python3.8/site-packages (from basemap->ucvm-plotting==0.0.2) (2.6.1.post1)
Collecting pyshp<2.2,>=1.2
Downloading pyshp-2.1.3.tar.gz (219 kB)
|████████████████████████████████| 219 kB 104.8 MB/s
Requirement already satisfied: six<1.16,>=1.10 in /project/scec_608/maechlin/anaconda3/lib/python3.8/site-packages (from basemap->ucvm-plotting==0.0.2) (1.15.0)
Requirement already satisfied: cycler>=0.10 in /project/scec_608/maechlin/anaconda3/lib/python3.8/site-packages (from matplotlib->ucvm-plotting==0.0.2) (0.10.0)
Requirement already satisfied: pillow>=6.2.0 in /project/scec_608/maechlin/anaconda3/lib/python3.8/site-packages (from matplotlib->ucvm-plotting==0.0.2) (8.2.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /project/scec_608/maechlin/anaconda3/lib/python3.8/site-packages (from matplotlib->ucvm-plotting==0.0.2) (1.3.1)
Requirement already satisfied: python-dateutil>=2.1 in /project/scec_608/maechlin/anaconda3/lib/python3.8/site-packages (from matplotlib->ucvm-plotting==0.0.2) (2.8.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in /project/scec_608/maechlin/anaconda3/lib/python3.8/site-packages (from matplotlib->ucvm-plotting==0.0.2) (2.4.7)
Building wheels for collected packages: ucvm-plotting, pyshp
Building wheel for ucvm-plotting (PEP 517) ... done
Created wheel for ucvm-plotting: filename=ucvm_plotting-0.0.2-py3-none-any.whl size=89600 sha256=0fb468cd48ce7999dd8c84fdda7367c1f5774c6a8d8085848474db3e31987379
Stored in directory: /home1/maechlin/.cache/pip/wheels/8e/3c/d0/d8e5943709a4ea6ad6c9f1f4a5b9592957209911193d00468f
Building wheel for pyshp (setup.py) ... done
Created wheel for pyshp: filename=pyshp-2.1.3-py3-none-any.whl size=37263 sha256=d61c28f4c0d71dc4457d1277901ec85e8ab55f1047a992bc9329195199d5af4c
Stored in directory: /home1/maechlin/.cache/pip/wheels/1f/1b/b5/54affbefc8a7e2bdf1da000fc576b8a1c91338f1f327a04f4c
Successfully built ucvm-plotting pyshp
Installing collected packages: numpy, pyshp, basemap-data, basemap, ucvm-plotting
Attempting uninstall: numpy
Found existing installation: numpy 1.20.1
Uninstalling numpy-1.20.1:
Successfully uninstalled numpy-1.20.1
Successfully installed basemap-1.3.2 basemap-data-1.3.2 numpy-1.22.2 pyshp-2.1.3 ucvm-plotting-0.0.2
(base) [maechlin@discovery2 ucvm_plotting]$ ls
CODE_OF_CONDUCT.md CREDITS.md examples make-dist pycvm README.md setup.py ucvm_plotting unpack-dist
CONTRIBUTING.md dist LICENSE.txt MANIFEST.in pyproject.toml setup.cfg tests ucvmPlotting.yml utilities
(base) [maechlin@discovery2 ucvm_plotting]$ plot_depth_profile.py
Traceback (most recent call last):
File "/project/scec_608/maechlin/anaconda3/bin/plot_depth_profile.py", line 11, in
from pycvm import DepthProfile, UCVM, VERSION, UCVM_CVMS, Point, ask_number, ask_path, ask_file, get_user_opts
File "/project/scec_608/maechlin/anaconda3/lib/python3.8/site-packages/pycvm/init.py", line 6, in
from .elevation_horizontal_slice import ElevationHorizontalSlice
File "/project/scec_608/maechlin/anaconda3/lib/python3.8/site-packages/pycvm/elevation_horizontal_slice.py", line 146
else:
^
TabError: inconsistent use of tabs and spaces in indentation