Linux based remote FEKO: initfeko no such file found.
hello,
I am setting up an external computer running Ubuntu to which I want to submit remote FEKO jobs.
I installed FEKO on the computer, setup SSH and added all the required variables to Path. However following the installation guide (https://help.altair.com/feko/pdf/Altair_Feko_Installation_Guide.pdf) I am unable to perform the step
. <installation directory>/altair/feko/bin/initfeko (described on page 130).
When submitting a job (through terminal as through the GUI it does not ask the password to login and gets stuck at connecting to IP).
I am able to succesfully connect to the remote host, it creates a temporary folder (as expected), but it fails to upload files with the error:
"initfeko no such file"
Anybody had this problem before and managed to solve it?
Find more posts tagged with
Hello Evan,
There have been some updates:
I confused the remote and local setup in the manual, since then I have made some improvements.
However, after sending and copying the files to the remote host (succesfully), the debug states this:
Launching remote FEKO process using the command: plink -ssh -batch -l (my username) -i (path to private key) (ip) "cd (remote dir); runfeko (filename) --is-remote".
FATAL ERROR: Network error: connection timed out.
For security reasons I had to remove some of the information.
We so far have been unable to identify why it times out.
For debugging reasons, I have tried to add additional commands in the feko_remote_ssh.bat such as mkdir and these also time out.
I understand this might have to do with the SSH configuration but so far have not been able to figure out why it fails after creating the folder and copying the files to it.
Thank you for your time and assistance,
Justin
I have found the problem, but not yet the solution.
If I add, say, 9 echo commands then it will still time out after the 3rd or so echo command. So the connection is only allowed for a limited time. Any advice on where to look into the SSH settings or the batch script would be appreciated :)
Update: We have increased the timeout from SSH and this seems to work. However, the runfeko command is not executed on the remote host. It continues to submit the files back to me.
kind regards,
Justin
Hello Justin,
Thanks for the info and the update. Glad to hear the timeout has been resolved on your end, are you still running this command?:
cd (remote dir); runfeko (filename) --is-remote
Have you tried using the command --remote-host h? I am unable to find the command I see this is the command to run the remote launching facility and providing h which is the IP address:
I look forward to hear the results.
Respectfully,
Evan Urban
Hi Evan,
Yes, I am still running that command.
I am getting this problem (the remote PC not doing anything when calling runfeko and just sending back the original files without results (BOF file)). When both calling the remote functionality from the UI and from the console with the command you mentioned.
kind regards,
Justin
Hello Justin,
I will help sort this issue out.
When you setup your key authentication, are you able to locate the keys in your .ssh directory? Also, is your .bashrc file located in your HOME directory?
Respectfully,
Evan Urban