EMC GUI in VMD

Hi,

I have EMC emc_linux_x86_64_v9.4.4_20230801 version installed and VMD version 1.9.4a57 installed on ubuntu-24.04.

Under Check/Run when try to test run build or any of the options I get this error.

can’t read “::env(HOST)”: no such variable
no such variable
(read trace on “::env(HOST)”)
invoked from within
“if {::env(HOST) != ""} { set host ::env(HOST)
}”
(procedure “::EMC::gui::GetHostVarFromRoot” line 4)
invoked from within
“::EMC::gui::GetHostVarFromRoot”
(procedure “::EMC::gui::MakeAndCheckTempDirectory” line 19)
invoked from within
“::EMC::gui::MakeAndCheckTempDirectory”
invoked from within
".emc.hlf.nb.run.runframe.testrunbutton invoke "
invoked from within
“.emc.hlf.nb.run.runframe.testrunbutton instate {pressed !disabled} { .emc.hlf.nb.run.runframe.testrunbutton state !pressed; .emc.hlf.nb.run.runframe.t…”
(command bound to event)

Can you please help me with this?

Thank you in advance.

Best regards,
Yunes Salman

Hi Yunes,

The environment variable HOST is assumed to be set to the EMC executable you are using, which in your case would be emc_linux_x86_64, if I am not mistaken. This would mean, that you could set HOST in your .bashrc to

export HOST=linux_x86_64

Check in ${EMC_ROOT}/bin, if I am quoting the right EMC executable.

1 Like

Thank you Peter! It worked.

Hi Yunes,

Thank you for the reported bug and confirmation of the fix. With this information I will update the GUI, such that it will run somewhat smoother with the next release.