azurehpc icon indicating copy to clipboard operation
azurehpc copied to clipboard

OpenFoam - Errors in installation and running instructions

Open xpillons opened this issue 5 years ago • 2 comments

Commands "azhpc-run -u hpcuser $azhpc_dir/apps/openfoam_org/full_openfoam.sh" and "azhpc-run -u hpcuser $azhpc_dir/apps/openfoam_org/tar_openfoam.sh" are wrong because those 2 files no longer exists.

xpillons avatar Aug 08 '19 19:08 xpillons

Hi Team,

I hope my issue is close to the issue topic.

I have tried to run https://github.com/Azure/azurehpc/tree/master/tutorials/cfd_workflow with

azhpc-init -c ../azurehpc/tutorials/cfd_workflow -d cfd_workflow -v location=northeurope,resource_group=hpc-grundfosazhpc,win_password=xxx

and failed during deployment of vmss. Any suggestions how to troubleshoot?

Traceback (most recent call last): File "/usr/lib64/python3.6/logging/init.py", line 994, in emit msg = self.format(record) File "/usr/lib64/az/lib/python3.6/site-packages/knack/log.py", line 64, in format msg = logging.StreamHandler.format(self, record) File "/usr/lib64/python3.6/logging/init.py", line 840, in format return fmt.format(record) File "/usr/lib64/python3.6/logging/init.py", line 577, in format record.message = record.getMessage() File "/usr/lib64/python3.6/logging/init.py", line 336, in getMessage msg = str(self.msg) File "/usr/lib64/az/lib/python3.6/site-packages/msrestazure/azure_exceptions.py", line 193, in str return str(self.error) File "/usr/lib64/az/lib/python3.6/site-packages/msrestazure/azure_exceptions.py", line 120, in str return error_bytes.decode('ascii') UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 918: ordinal not in range(128) Call stack: File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/main.py", line 41, in exit_code = cli_main(az_cli, sys.argv[1:]) File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/main.py", line 30, in cli_main return cli.invoke(args) File "/usr/lib64/az/lib/python3.6/site-packages/knack/cli.py", line 227, in invoke exit_code = self.exception_handler(ex) File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 109, in exception_handler return handle_exception(ex) File "/usr/lib64/az/lib/python3.6/site-packages/azure/cli/core/util.py", line 55, in handle_exception logger.error(ex.args[0]) Message: CloudError("The template deployment 'vmss_deploy_ItTsxue5Rir3tGVtiU8q6EadF1WkgwXX' is not valid according to the validation procedure. The tracking id is '98f36a9e-8ded-4b67-81d4-d2dfbc5a56b1'. See inner errors for details.",) Arguments: ()

lmiroslaw avatar May 20 '20 11:05 lmiroslaw

@lmiroslaw I've created issue #283 to track it and I'm working on it now.

xpillons avatar May 20 '20 12:05 xpillons