When I try to run c file using this command mpirun –np 2 ./ hellow
it returns [proxy:0:0#suganthan-VirtualBox] HYDU_create_process (utils/launch/launch.c:74): execvp error on file ./ (Permission denied).
I could not solve this error. could anyone suggest any way to solve it?
Remove the space between ./ and hellow.
Related
I installed zsh on my mac but I get this error when I try to source it:
Last login: Sat Nov 20 15:54:12 on ttys004
➜ ~ source zsh
[2] 55808
/usr/local/bin/zsh:1: parse error near `)'
/usr/local/bin/zsh:1: bad pattern: ^#^#^#^#^#^Y^#^#^#H^#^#^#__PAGEZERO^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^A^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^#^Y^#^#^#(^B^#^#__TEXT^#^#^#^#^#^#^#^#^#^#^#^#^#^#^A^#^#^#^##^H^#^#^#^#^#^#^#^#^#^#^#^#^#^##^H^#^#^#^#^#^E^#^#^#^E^#^#^#^F^#^#^#^#^#^#^#__text^#^#^#^#^#^#^#^#^#^#__TEXT^#^#^#^#^#^#^#^#^#^#\M-<O^#^#^A^#^#^#\M-q
/usr/local/bin/zsh:1: parse error in command substitution
[2] + 55808 exit 1 ����X�
I copied the zshrc.zsh-template from templates as my .zshrc file so I don't even know if the problem is with zsh. It just happens when I run source zsh. I can't figure out what causes this or how to fix it.
The proper source command is source ~/.zshrc
I try to run HBase in windows. And got this error
I search and find some answer
a)download winutils and paste it to the bin directory but error still be there.
b)set HADOOP_HOME , but I don’t know how I must set HADOOP_HOME or HBASE_HOME.
How I can fix this error?
i solve the problem by set an environment variable as HADOOP_HOME and add path of hadoop root as it's path.
and use hbase-094.27 instead hbase-2.6 and it run without any error.
I am unable to execute following command in unix as
e.g. ->
export ENVFILE=$PARENT_DIR/../env/.tpms.evr
while i try to execute . "${ENVFILE}" it shows me error as bash: 39910-: command not found
can anybody let me know about how to fix this.
You most probably have a line in .tpms.evr script which bash tries to execute as a command called "39910-"
Please share this .tpms.evr script or just that line containing "39910-"
Trying to run the opentripplanner and using the Graph.obj to run it for a country.
But whenever trying to run the server it is giving the filenotfound exception at location /otp/Graph.obj although i have put the Graph.obj in the same location.
Stacktrace while running the server is :
Graph file not found or not openable for routerId '' under file:/otp
java.io.FileNotFoundException: /otp/Graph.obj (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:146)
at java.io.FileInputStream.(FileInputStream.java:101)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
I had the same problem trying to run OTP.
First problem: the routerId is missing
Second problem: the default directory is /var/otp/graph and OTP seems to search the graph under /var/otp/graph/{routerId}
Third problem (may not be yours): I tried to run OTP in Cygwin (Windows) and probably there was some trouble with the slashes/backslashes, so I decided to copy the graph under a "../gtfs/gurgaon"
Solution:
Step 1) create a subdirectory like "/var/otp/graph/gurgaon" and copied Graph.obj over there
Step 2) run something like: $ java -jar target/otp.jar --router gurgaon --graphs ../gtfs --server
It worked like a charm for me!
Try this code: java -Xmx5G -jar target/otp-0.20.0-SNAPSHOT-shaded.jar --build path your gtfs and osm.pbf files --inMemory
It worked perfect for me.
I am getting Couldn't canonicalise: No such file or directory error while getting single file using sftp.
here is what I am doing,
#!/bin/ksh
. /feeds/scripts/files.properties
filename=$1.txt
echo $filename
sftp $getusername#$getserver << EOF >> $logfile
cd /feeds/out/data/
lcd /feeds/files/
get $filename
bye
EOF
I am able to print/echo file name, but while executing scripts I am getting below error,
user:/feeds/scripts> ./fileReceiver.sh sample
sample.txt
Connecting to xxxxx.xxx.xxx...
Couldn't canonicalise: No such file or directory
Couldn't stat remote file: No such file or directory
File "/u/user/sample.txt" not found.
I don't know why it adds '/u/user' before file name. Can anyone please help?
Thanks in advance.
Solved!, I am sorry, my mistake. In property file, I had mentioned wrong server name. Server names looks very similar so couldn't figure it out. Anyways, thanks #devnull, I gone through it, its useful.
For me solution was removing / from directory name at end
Non-working
/folder-name/
Working
/folder-name