ash: cd: projects/zapdos/problems: No such file or directory

31 views
Skip to first unread message

Abdelhak MISSAOUI

unread,
Nov 9, 2020, 2:30:50 PM11/9/20
to zapdos-users
Hello everyone,
when i run the zapdos file i get this issue:

(moose) abdo2@abdo2-VirtualBox:~/projects/zapdos/problems$ cd projects/zapdos/problems; ../zapdos-opt -i Lymberopoulos_with_argon_metastables_2D_At1Torr.i --color off 2>&1 | tee log.txt
bash: cd: projects/zapdos/problems: No such file or directory
bash: ../zapdos-opt: No such file or directory
(moose) abdo2@abdo2-VirtualBox:~/projects/zapdos/problems$

how can  i solve this problem?

csde...@ncsu.edu

unread,
Nov 9, 2020, 2:55:17 PM11/9/20
to zapdos-users
Good afternoon,

Based on your terminal output, it seems that you are already in the problems directory (hints the "(moose) abdo2@abdo2-VirtualBox:~/projects/zapdos/problems$"), so then is no need to retype "cd projects/zapdos/problems". Try just typing "../zapdos-opt -i Lymberopoulos_with_argon_metastables_2D_At1Torr.i" into the terminal and seeing if that runs correct. If that fails, have you already built and tested Zapdos (i.e. run "make -j4" and "run_tests -j4" within the Zapdos directory)?

Thank you,
Corey DeChant

Abdelhak MISSAOUI

unread,
Nov 9, 2020, 4:05:28 PM11/9/20
to zapdos-users
yes, i tested zapdos all test ar OK. now i get this :
bash: ../zapdos-opt: No such file or directory


csde...@ncsu.edu

unread,
Nov 9, 2020, 4:48:17 PM11/9/20
to zapdos-users
Good afternoon,

Ok. While in your problems directory, can you please type "ls ../" and show us the output. You should see "zapdos-opt" as an output (below is an example).

(moose) corey@cdechant-ThinkPad-P51:~/projects_GEC2020/zapdos/problems$ ls ../
build  GEC2020_inputfiles  LICENSE   problems   scripts   test   zapdos-opt
crane  include             Makefile  README.md  squirrel  tests
doc    lib                 moose     run_tests  src       unit
(moose) corey@cdechant-ThinkPad-P51:~/projects_GEC2020/zapdos/problems$ 

Thank you,
Corey DeChant

Abdelhak MISSAOUI

unread,
Nov 9, 2020, 4:58:52 PM11/9/20
to zapdos-users
okay, the output are :

(moose) abdo2@abdo2-VirtualBox:~/projects/zapdos/problems$ ls ../
crane  include  Makefile  problems   run_tests  squirrel  tests
doc    LICENSE  moose     README.md  scripts    src       unit
(moose) abdo2@abdo2-VirtualBox:~/projects/zapdos/problems$

csde...@ncsu.edu

unread,
Nov 9, 2020, 5:12:06 PM11/9/20
to zapdos-users
Good afternoon,

Ok, so "./run_tests -j4" worked and passed, but there is no "zapdos-opt"? I am not sure have that can happen (from my understanding, the "run_tests" program needs "zapdos-opt").

Alex, Casey, Shane - Have you guys ever seen or heard about this for Zapdos or MOOSE?

Thank you,
Corey DeChant

Casey Icenhour

unread,
Nov 9, 2020, 6:23:00 PM11/9/20
to zapdos-users
Run_tests will fail without an executable available. "zapdos-opt" probably got cleared away accidentally by cleaning the directory with make or git, if I were to guess. Many troubleshooting guides for MOOSE and the apps include those commands.

Navigate back to "~/projects/zapdos/", build Zapdos using "make -j4", make sure that "zapdos-opt" is available by performing "ls" in your directory, and if so then you should be able to navigate to "~/projects/zapdos/problems/" and perform your run command again.
Reply all
Reply to author
Forward
0 new messages