User Ratings

★★★★★
★★★★
★★★
★★
5
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 1 / 5

Rate This Project
Login To Rate This Project

User Reviews

  • I installed this package on Ubuntu 18.04 with python 2.7. I basically followed the review from lambdapew and that was very helpful. Thanks lambdapew! For me, the libpaths is at ['/home/linuxbrew/.linuxbrew/Cellar/lapack/3.8.0_1/lib']. One other interesting thing is that I have to install the numpy package via "sudo apt install python-numpy". For some reason, if I install numpy through pip, my system doesn't recognize the f2py command. For people like me who have not used the Pillow package for python before: "from PIL import Image" and "from PIL import ImageColor" requires the package Pillow which can be installed in my case by "pip2 install Pillow".
  • Here's how it worked for me on Ubuntu 16.04 using Python 2.7: (1). Install the gfortran compiler using the command "sudo apt-get install gfortran" (2). Install the package manager Linuxbrew and use it in order to install LAPACK with the command "brew install lapack" (3). Change the following information in the "machine_cfg.py": (3a). f2py_options = ['--fcompiler=gfortran', '--f90exec=<GFORTRAN PATH>, '--opt="-O3 "', '--noarch'], where <GFORTRAN PATH> is the location of the gfortran compiler. In my case it was "/usr/bin/gfortran". (3b). libs = ['lapack'] and libpaths = ['<LAPACK PATH>'], <LAPACK PATH> is the lapack directory, in my case it was '/usr/lib/lapack/liblapack.so.3' (4.) In the files "stack.py" and "cell.py" in the "src" folder of the downloaded files change "import Image" to "from PIL import Image " and "import ImageColor" to "from PIL import ImageColor". (5.) Install "TkInter" for python. I got an error when I generated plots for the first time telling me to install this package. Doing so removed the error. Install "TkInter" using the command "sudo apt-get install python-tk" (6.) Install the mrcwa package by opening the directory in which it was downloaded to and open a terminal on that path. Run "sudo python setup.py install". (7.) Done!
    1 user found this review helpful.
  • Great tool. But hard to install for anyone not having a lot of programming experience. Also a proper documentation would be wonderful. In order to install on mac: - install the current gfortran compiler from the website: www.webmo.net/support/fortran_osx.html - locate the path of the gfortran compiler: /usr/local/bin/gfortran (in my case) change: f2pyoptions: f2py_options = ['--fcompiler=gfortran', '--f90exec=/usr/local/bin/gfortran'] -install the openblas library with homebrew 'brew install openblas' change libs and libpath to: libs = ['openblas'] libpaths = ['/usr/local/opt/openblas/lib'] Done. Remark: in the file stack.py and cell.py you need to change Import Image --> from PIL import Image Import ImageColor --> from PIL import ImageColor I miss one feature though, to calculate the field distribution.
    2 users found this review helpful.
  • Wonderful program, it's a really minimal interface, contrary to the previous program I was using in MATLAB, but I had a lot of trouble installing it, the instructions aren't perfectly clear unless you're a very experienced programmer. In case anyone else has the same problems as me: In order to install with gfortran on linux use f2py_options = ['--fcompiler=gfortran', '--f90exec=/usr/bin/gfortran', '--opt="-O3 "', '--noarch'] libs = ['lapack'] libpaths = ['[your lapack path]/[your lapack version]'] mine were /usr/lib/lapack/liblapack.so.3 Also, I had an error message "no module named mrcwa". For some reason using the command /usr/bin/python [example file] worked, but python [example file] did not, I'm still not entirely sure why. Finally, be careful to look through the text given after installation, the errors don't exactly pop out at you.
    2 users found this review helpful.
  • The question of mine is that I can't execute basic-example.py even if I have executed "python setup.py install". The error message is as below: 「 Traceback (most recent call last): File "C:\Users\John\Downloads\mrcwa-20080820\examples\basic-example\basic-example.py", line 5, in <module> from mrcwa import * File "C:\Python27\lib\site-packages\mrcwa\__init__.py", line 8, in <module> from cell import * File "C:\Python27\lib\site-packages\mrcwa\cell.py", line 2, in <module> from stack import * File "C:\Python27\lib\site-packages\mrcwa\stack.py", line 2, in <module> import mrcwaf ImportError: No module named mrcwaf 」 Thus, I try to examine my installation process. Here is a excerpt of INSTALL.txt: 「 Copy one of the machine_cfg.py.{various_platforms} files to machine_cfg.py, and edit it to reflect the location of these libraries, as well as other machine-dependent parameters and compiler flags. 」 I can't understand what does it mean. Is there anyone can tell me? And does the file in mrcwaf folder have to do extra dispose manually beside the execution of "python setup.py install"? I find all the file in mrcwaf folder is subroutine file of fortran expect mrcwaf.pyf. It's quite special. Do I have to do any dispose to it when installing? Thank you very much!