FreeFem / FreeFem-sources

FreeFEM source code
https://freefem.org/
Other
756 stars 188 forks source link

Error opening file poisson.edp #131

Closed comand2 closed 4 years ago

frederichecht commented 4 years ago

Dear user,

simple the fille position.edp is not in your working directory

pwd ls poisson.edp when you get file not found..

so before do

cd ThedirectoryPath ls poisson.edp poisson.edp

where ThedirectoryPath is the directory path of directory contenting the file poisson.edp FH.

Le 20 avr. 2020 à 03:40, comand2 notifications@github.com a écrit :

Error opening file poisson.edp in: -- try :"poisson.edp" -- try :"/usr/include/freefem++/idp/poisson.edp" -- try :"/usr/local/lib/ff++/4.6/idp/poisson.edp"

comand2 commented 4 years ago

Dear hecht

Thank you for your prompt reply.

I haven't still made it work..

Firest, I saved 「poisson.edp」in a foulder「usr/include/freefem++/idp」 . Second, I do a command「cd usr/include/freefem++/idp 」 on a terminal. (↑I thought that I moved to a correct working directory.) Finally, I do a command「FreeFem++ poisson.edp」. But same error was displayed.

/$ pwd / /$ cd /usr/include/freefem++/idp


Sincerely command2

2020年4月20日(月) 15:40 hecht notifications@github.com:

Dear user,

simple the fille position.edp is not in your working directory

pwd ls poisson.edp when you get file not found..

so before do

cd ThedirectoryPath ls poisson.edp poisson.edp

where ThedirectoryPath is the directory path of directory contenting the file poisson.edp FH.

Le 20 avr. 2020 à 03:40, comand2 notifications@github.com a écrit :

Error opening file poisson.edp in: -- try :"poisson.edp" -- try :"/usr/include/freefem++/idp/poisson.edp" -- try :"/usr/local/lib/ff++/4.6/idp/poisson.edp"

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/FreeFem/FreeFem-sources/issues/131#issuecomment-616342964, or unsubscribe https://github.com/notifications/unsubscribe-auth/APIF2YGT5UHQKWNGXRRIHOLRNPU47ANCNFSM4MMBQW2A .

frederichecht commented 4 years ago

You do not do the ls command clearly when you launch FreeFem++ you not un the correct directory

Remark,

in you mail the RED part is strange;

1) copie the file in /tmp cp poisson.edp /tmp cd /tmp FreeFem++ poisson.edp

Firest, I saved 「poisson.edp」in a foulder「usr/include/freefem++/idp」 . Second, I do a command「cd usr/include/freefem++/idp 」 on a terminal. (↑I thought that I moved to a correct working directory.) Finally, I do a command「FreeFem++ poisson.edp」. But same error was displayed.

/$ pwd / /$ cd /usr/include/freefem++/idp

Error

Le 20 avr. 2020 à 09:33, comand2 notifications@github.com a écrit :

「cd usr/include/freefem++/idp

comand2 commented 4 years ago

Dear hecht,

Thank you again.

I could make it work. Thank you very much.

/usr/include/freefem++/idp$ cp poisson.edp tmp cp: cannot open 'poisson.edp' for reading: Permission denied /usr/include/freefem++/idp$ ls -al drwxrwxrwx 1 root root 512 Apr 17 10:44 . drwxrwxrwx 1 root root 512 Apr 17 10:42 .. ---------- 1 root root 956 Apr 17 10:44 poisson.edp /usr/include/freefem++/idp$ sudo chmod 777 poisson.edp /usr/include/freefem++/idp$ ls -al drwxrwxrwx 1 root root 512 Apr 17 10:44 . drwxrwxrwx 1 root root 512 Apr 17 10:42 .. -rwxrwxrwx 1 root root 956 Apr 17 10:44 poisson.edp /usr/include/freefem++/idp$ cp poisson.edp tmp

And then, I could make it work!

Yours Sincerely, command2

2020年4月20日(月) 17:04 hecht notifications@github.com:

You do not do the ls command clearly when you launch FreeFem++ you not un the correct directory

Remark,

in you mail the RED part is strange;

1) copie the file in /tmp cp poisson.edp /tmp cd /tmp FreeFem++ poisson.edp

Firest, I saved 「poisson.edp」in a foulder「usr/include/freefem++/idp」 . Second, I do a command「cd usr/include/freefem++/idp 」 on a terminal. (↑I thought that I moved to a correct working directory.) Finally, I do a command「FreeFem++ poisson.edp」. But same error was displayed.


/$ pwd / /$ cd /usr/include/freefem++/idp

  • /usr/include/freefem++/idp$ pwd /usr/include/freefem++/idp /usr/include/freefem++/idp$ FreeFem++ poisson.edp* -- FreeFem++ v4.6 (Thu Apr 2 15:47:38 CEST 2020 - git v4.6) Load: lg_fem lg_mesh lg_mesh3 eigenvalue Error opening file poisson.edp in: -- try :"poisson.edp" -- try :"/usr/include/freefem++/idp/poisson.edp" -- try :"/usr/local/lib/ff++/4.6/idp/poisson.edp"

Error

Le 20 avr. 2020 à 09:33, comand2 notifications@github.com a écrit :

「cd usr/include/freefem++/idp

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/FreeFem/FreeFem-sources/issues/131#issuecomment-616381357, or unsubscribe https://github.com/notifications/unsubscribe-auth/APIF2YFCJKXWKCZDTXRWWO3RNP62PANCNFSM4MMBQW2A .

frederichecht commented 4 years ago

This not de Problem of freefem++ but a Unix problem.

Le 20 avr. 2020 à 11:06, comand2 notifications@github.com a écrit :

Dear hecht,

Thank you again.

I could make it work. Thank you very much.

/usr/include/freefem++/idp$ cp poisson.edp tmp cp: cannot open 'poisson.edp' for reading: Permission denied /usr/include/freefem++/idp$ ls -al drwxrwxrwx 1 root root 512 Apr 17 10:44 . drwxrwxrwx 1 root root 512 Apr 17 10:42 .. ---------- 1 root root 956 Apr 17 10:44 poisson.edp /usr/include/freefem++/idp$ sudo chmod 777 poisson.edp /usr/include/freefem++/idp$ ls -al drwxrwxrwx 1 root root 512 Apr 17 10:44 . drwxrwxrwx 1 root root 512 Apr 17 10:42 .. -rwxrwxrwx 1 root root 956 Apr 17 10:44 poisson.edp /usr/include/freefem++/idp$ cp poisson.edp tmp

And then, I could make it work!

Yours Sincerely, command2

2020年4月20日(月) 17:04 hecht notifications@github.com:

You do not do the ls command clearly when you launch FreeFem++ you not un the correct directory

Remark,

in you mail the RED part is strange;

1) copie the file in /tmp cp poisson.edp /tmp cd /tmp FreeFem++ poisson.edp

Firest, I saved 「poisson.edp」in a foulder「usr/include/freefem++/idp」 . Second, I do a command「cd usr/include/freefem++/idp 」 on a terminal. (↑I thought that I moved to a correct working directory.) Finally, I do a command「FreeFem++ poisson.edp」. But same error was displayed.


/$ pwd / /$ cd /usr/include/freefem++/idp

  • /usr/include/freefem++/idp$ pwd /usr/include/freefem++/idp /usr/include/freefem++/idp$ FreeFem++ poisson.edp* -- FreeFem++ v4.6 (Thu Apr 2 15:47:38 CEST 2020 - git v4.6) Load: lg_fem lg_mesh lg_mesh3 eigenvalue Error opening file poisson.edp in: -- try :"poisson.edp" -- try :"/usr/include/freefem++/idp/poisson.edp" -- try :"/usr/local/lib/ff++/4.6/idp/poisson.edp"

Error

Le 20 avr. 2020 à 09:33, comand2 notifications@github.com a écrit :

「cd usr/include/freefem++/idp

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/FreeFem/FreeFem-sources/issues/131#issuecomment-616381357, or unsubscribe https://github.com/notifications/unsubscribe-auth/APIF2YFCJKXWKCZDTXRWWO3RNP62PANCNFSM4MMBQW2A .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/FreeFem/FreeFem-sources/issues/131#issuecomment-616414727, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLPNDHGCK2FIQYXC4B5OQLRNQGCPANCNFSM4MMBQW2A.