[FLASH-USERS] Problem with MPI while running FLASH in Docker

Полина Бевад black_estrella at mail.ru
Mon Jul 8 16:35:09 EDT 2019


Marissa, thank you!

Yes, I wanted to fix these paths, and mount FLASH folder to docker, but the main problem, I assume, that docker image doesn't include MPI, HDF5 and other libraries and then the purpose of this image isn't clear - if I need to install MPI and hdf5 as usual and then commit changes in image, then it the same as the common installation. 
Maybe there are some other images, because this one from manual was updated 4 years ago ( https://hub.docker.com/r/icksa/flash4-deps )?

>Понедельник,  8 июля 2019, 22:14 +03:00 от Marissa Adams <madams at pas.rochester.edu>:
>
>To use the docker image you want to make sure you're using the appropriate Makefile.h .  Prototypes/Linux/Makefile.h is the most amenable to docker. However, it needs some small changes for the paths:
>
>MPI_PATH    = /usr/local
>HDF4_PATH   =
>HDF5_PATH   = /usr/local
>HYPRE_PATH = /usr/local
>
>If FLASH is not using the appropriate  Makefile.h , you can tell it to do so in the set-up script you want via the flag  -site=Prototypes/Linux/
>
>FYI you can find a list of all setup flags in section 5.2 in the User Manual:  http://flash.uchicago.edu/site/flashcode/user_support/flash4_ug_4p5.pdf
>
>
>On Mon, Jul 8, 2019 at 1:58 PM Полина Бевад < black_estrella at mail.ru > wrote:
>>
>>Dear FLASH users, 
>>
>>Has anyone encountered the problem of running FLASH 4.6 from Docker image `icksa/flash4-deps`?
>> 
>>I received the error "/usr/local/mpich2 can't be found while run `make` command after `setup.py`, that means that MPI isn't installed (and yes, this folder is really absent in docker container). It is strange, because this image must be fully predefined and
>> must contain all needed libraries.
>>
>>I tried Docker image as a simplier way to try new version, because a primitive update of folder with FLASH from 4.4 to 4.6 version didn't work in my case: error of /usr/local/hdf5 -lz appeared and I would not want to reinstall libraries again...
>>
>>Thanks in advance!
>>-- 
>>Polina Bevad

-- 
Полина Бевад
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20190708/6cd4e53d/attachment.htm>


More information about the flash-users mailing list