Comments (14)
I have fixed the indentation error, but that shouldn't have effected being able to run gprMax. What error did you get when trying to run?
from gprmax.
Thanks for the quick reply. Thought as much. The error I get is below. Probably not related to gprMax but to the Miniconda environment and that it can't get the right version of the HDF5 libary, even though the new version is installed. I think it's an issue with the path.
from gprmax.
Yeh, I think you probably need to update the gprMax environment. Just run conda update --all
with the environment activated.
from gprmax.
I did the update and the version in Miniconda is 1.8.16, while the version on our server is 1.8.17. The latter is the one he finds and complains about, even though he should be looking in the Miniconda environment.
from gprmax.
Yeh, that does sound like a path issue. Is the conda environment listed first when you do echo $PATH
?
from gprmax.
Yes it is. I want to show you a new error I get. I tried installing it again without the Miniconda environment, as I've always done in the past, but I get this strange error now which I don't understand.
EDIT: I forgot to mention, that this is the installation process and not running an input file. Also I tried to install a 1 week old commit that worked for me ~ 10 days ago.
from gprmax.
@obtitus Do you think the SyntaxError in input_cmd_funcs.py
is related to Python 3.4?
@mzunguman This is not a problem that should effect you unless you are using Python in your input files and using functions from input_cmd_funcs.py
.
from gprmax.
Sorry about that, the pull request should fix it.
from gprmax.
@obtitus Awesome thanks.
from gprmax.
Just wanted to make a last remark, in the hopes that it might help others as well. I solved my problem by manually setting the PATH and LD_LIBRARY_PATH variables in my .bashrc file. I don't know enough about administrating linux servers and how these path variables are handled on a multi-user system, but the following step was necessary for me. I would be thankful for suggestions, improvements or explanations for this. By entering the conda environment, a library path to the /miniconda/envs/gprMax/lib has to be set, otherwise he was using the hdf5 version installed on the system. I previously thought the path which is set by miniconda when entering the gprMax environment was sufficient. Below are the two lines I added:
- export PATH="/home/stadler/miniconda3/bin:/home/stadler/miniconda3/envs/gprMax/bin:$PATH"
- export LD_LIBRARY_PATH="/home/stadler/miniconda3/lib:/home/stadler/miniconda3/envs/gprMax/lib:$LD_LIBRARY_PATH"
from gprmax.
I think when you first install Miniconda it gives you the option for it to add the Miniconda bin directory to your path, usually via your .bash_profile
from gprmax.
yeah it does. That's the first portion of the path, and I thought that was enough too. But, for me at least, only after I add the second set of paths does it seem to work.
from gprmax.
Are you sure the environment is being activated correctly? When I activate an environment the following happens:
w5067:~ cwarren$ source activate gprMax
discarding /Users/cwarren/miniconda3/bin from PATH
prepending /Users/cwarren/miniconda3/envs/gprMax/bin to PATH
(gprMax)w5067:~ cwarren$
from gprmax.
In the past as well as now, I got the same message. It must be the new LD_LIBRARY_PATH path I entered that did the trick for me. Don't know why...
from gprmax.
Related Issues (20)
- Feeding point in an open-ended coaxial probe HOT 1
- Problem with relation between parameter "beta" and fractal dimension "D" HOT 7
- Error in water epsilon r (master branch) HOT 3
- Grid.solid and materials numID mismatch for multiple fractal boxes with Peplinski soils - master branch HOT 1
- #hertzian_dipole Antenna Pattern HOT 1
- 'gbk' can't decode README.rst in setup.py HOT 7
- Slack Login HOT 2
- Fix to material names in Peplinski soils
- Problem about the snapshot of the electromagnetic fields using #snapshot command HOT 2
- Some suggestions for initialization HOT 3
- High GIL Overhead in PML Update Kernel HOT 1
- This came up when I was trying to plot the orientation of the antenna HOT 2
- Broken Rx() arg outputs=[] HOT 2
- When I visualise the GSSI 1.5 GHz antenna, I can't see the bowtie-shaped HOT 1
- Possible bug in v4: erroneous asymmetry in TWTL sim compared with v3 HOT 2
- PML bug when using magnetic materials HOT 2
- Subgrids: Rxbowtie not allowed HOT 4
- Slow model build time with v4 vs v3 HOT 5
- about png2h5 HOT 2
- how to use #python #end_python HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gprmax.