Author Topic: Dakota could not spawn, error code 2  (Read 13863 times)

Zorborzal

  • Newbie
  • *
  • Posts: 2
    • View Profile
Dakota could not spawn, error code 2
« on: December 04, 2023, 10:11:55 PM »
Hi,
Im having this error trying to run a script.

The error code im getting is:

Error Running Dakota: Could not spawn; error code 2 (No such file or directory)

Any idea how i can solve this and what do you need to inspect it?

Sang-ri

  • Administrator
  • Jr. Member
  • *****
  • Posts: 70
    • View Profile
Re: Dakota could not spawn, error code 2
« Reply #1 on: December 05, 2023, 07:27:11 PM »
Hi,

Thank you for posting the issue. To help us figure out the solution, can you please share with us
  • A screenshot that shows the list of the files inside the directory "{LocalWorkdir}/tmp.SimCenter/templatedir" where {LocalWorkdir} refers to the Local Jobs Directory which can be found by clicking, in the menu bar of quoFEM, File-Preference
  • Dakota.in file (under "{LocalWorkdir}/tmp.SimCenter") - if found
  • scInput.json file (under "{LocalWorkdir}/tmp.SimCenter/templatedir") - if found

Best,
Sang-ri

Zorborzal

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Dakota could not spawn, error code 2
« Reply #2 on: December 07, 2023, 05:54:59 PM »
Thanks Sang-ri for the Reply, here are the files that you asked for!

Sang-ri

  • Administrator
  • Jr. Member
  • *****
  • Posts: 70
    • View Profile
Re: Dakota could not spawn, error code 2
« Reply #3 on: December 07, 2023, 11:16:18 PM »
Hi,

Thanks much for sharing the files!

Can you please move the quoFEM folder (with the exe file in it) to some folder under C drive? I assume it is currently under D drive, but the local jobs directory is by default in C drive. This mismatch had caused some permission issues before. Alternatively, you can try changing the local jobs directory to some folder under D drive.

If it still does not work, can you please share two screenshots that show the list of files in templatedir and workdir.1, respectively?

Thank you,
Sang-ri

« Last Edit: December 07, 2023, 11:17:54 PM by Sang-ri »