- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
System: Ubuntu 14.04.1 LTS, MPSS 3.4.1, parallel_studio_xe_2015_update1 and g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2.
I am trying to use scif for communication with mic. However on the host node, I got the following error when calling scif_open
Error no: 13, msg: Permission denied
However when I run problem in sudo mode, it works fine.
How can I fix this problem?
Thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you had said your program was dying in scif_bind, I would have asked- Is the port number greater than 1024? Smaller port numbers are privileged and can only be assigned by root. But scif_open shouldn't return a permission denied. It should only return insufficient memory or library version mismatch. Could you confirm that the program really is in scif_open when it dies and check that the port you are using is greater than 1024?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Frances,
It was sci_open. However it seems to me that problem was specific to Ubuntu, not Centos.
Example (Ubuntu 14.04)
/usr/share/doc/scif/tutorials/
./scif_accept_host -l 2050 -s 1024 -b 1
scif_open failed with error -1
sudo ./scif_accept_host -l 2050 -s 1024 -b 1
scif_bind to port 2050 success
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I has fixed it now.
Change permission of /dev/mic/scif
sudo chmod o+w /dev/mic/scif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you please post the way you compile the source code of MPSS on ubuntu and the way you install MPSS? Thank you.
This is my email: 13298652700@163.com. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page