Docker Community Forums

Share and learn in the Docker community.

Docker doesn't complete code--memory issue?

Issue
I’m using the exawind/exawind-dev image. In powershell, when I do:
docker run --rm -v C:/Users/username/Downloads/nalu-wind-master/examples/abl_neutral:/workspace exawind/exawind-dev abl_mesh -i abl_preprocess.yaml
I get:

  • Nalu ABL Mesh Generation Utility
  • Input file: abl_preprocess.yaml
  • HexBlockBase: Registering parts to meta data
  • Mesh block: fluid_part
  • Num. nodes = 25351101; Num elements = 25000000
  • Generating nodes…done
  • Generating elements…done
  • Creating element connectivity…

The code just stop at this point as if it had completed without giving an error. It doesn’t actually complete though, e.g. it should produce an output file mesh_abl.exo but it doesn’t. When I do “abl_mesh -i abl_preprocess.yaml” on a cluster with exawind and the same nalu-wind github repo installed it does complete and produce the mesh_abl.exo file. This makes me think it’s a docker issue.

Does anyone know what might be causing the code not to complete? I was thinking it might be a memory issue but couldn’t figure out how to check how much memory I’m allocating or how to allocate more memory on my version of docker (it doesn’t have the settings > advanced tab.)

To reproduce this error:
get docker for Windows 10 Home
do docker pull exawind/exawind-dev (to get the image at https://hub.docker.com/r/exawind/exawind-dev)
download the github repo at https://github.com/janiadcock/nalu-wind into C:\Users\username\Downloads\nalu-wind-master
cd into C:\Users\username\Downloads\nalu-wind-master\examples\abl_neutral
in powershell run: docker run --rm -v C:/Users/username/Downloads/nalu-wind-master/examples/abl_neutral:/workspace exawind/exawind-dev abl_mesh -i abl_preprocess.yaml

Version info:
OS Name: Microsoft Windows 10 Home
OS Version: 10.0.19041 N/A Build 19041
System Type: x64-based PC

Client: Docker Engine - Community
Version: 19.03.12
API version: 1.40
Go version: go1.13.10
Git commit: 48a66213fe
Built: Mon Jun 22 15:43:18 2020
OS/Arch: windows/amd64
Experimental: false

Server: Docker Engine - Community
Engine:
Version: 19.03.12
API version: 1.40 (minimum version 1.12)
Go version: go1.13.10
Git commit: 48a66213fe
Built: Mon Jun 22 15:49:27 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.2.13
GitCommit: 7ad184331fa3e55e52b890ea95e65ba581ae3429
runc:
Version: 1.0.0-rc10
GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version: 0.18.0
GitCommit: fec3683