11-05-2010
The commented line should not be commented. This is what my LIBMPI was set to. I tried it both with the .so file in the path and without and got the same error message.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
what is the actual use of environment variables.
I know only PS1, LOGNAME, PS2 variables
what are the other variables & what is there use (2 Replies)
Discussion started by: indianguru
2 Replies
2. Programming
Hi!
How-to get the environment variables in GNU.
getenv() only fetches the ones that you can find under export (not the ones under declare)...
best regars .David (2 Replies)
Discussion started by: Esaia
2 Replies
3. UNIX for Dummies Questions & Answers
Hi Folks,
Is it possible somehow to unset all the environment variables which have been defined before in UNIX (Solaris).
Thanks,
Slava (3 Replies)
Discussion started by: spavlov
3 Replies
4. UNIX for Dummies Questions & Answers
hi,
1). i would like to know what is meant by environment variables?
2). is the number of envi variables is a constant number for unix systems?
3). how to see the list of envi variables (and the values of the envi variables)in a single command?
4). if this questions were already asked... (3 Replies)
Discussion started by: sekar sundaram
3 Replies
5. Programming
hi,
I want to create a new EV(Environment Variable) through a c program and I done this thing through setenv() method. But the newly created EV is not permanent, i.e. when I exit from the program the EV also no longer lives. But I want to make it a permanent EV for the current user. Actually I... (6 Replies)
Discussion started by: sumsin
6 Replies
6. Shell Programming and Scripting
Hi,
If i have a variable set and exported in my pofile file will that variable be available in all shell scripts created.
Thanks,
Radhika. (3 Replies)
Discussion started by: radhika03
3 Replies
7. Homework & Coursework Questions
1. The problem statement:
What is the mesg value set for your environment? If it is on, how would you turn off your current
session? How would you set it permanently?
3. The attempts at a solution :
Read Unix The textbook.
3rd chapter has many things like environment variables and... (5 Replies)
Discussion started by: mahinkhan22
5 Replies
8. Shell Programming and Scripting
cat file
time="north_south_east_west_08:00" location="A" start="left" status="ok" end="north"
time="north_south_east_west_12:00" location="C" start="right" status="ok" end="south"
time="north_south_east_west_23:00" location="G" start="left" status="ok" end="east"... (7 Replies)
Discussion started by: ctphua
7 Replies
9. HP-UX
Hi All,
I need to understand following three environment variables and their usages in HP Unix.
_M_ARENA_OPTS
_M_CACHE_OPTS
PTHREAD_SCOPE_SYSTEM
How does these environment variables influence multi threaded applciation and how do we decide the value of these variables? Is there... (0 Replies)
Discussion started by: angshuman
0 Replies
10. Shell Programming and Scripting
Hello I have a problem in a calling function.
#!/bin/bash
#
function SEARCH_IN_CURRENT_ITEM () {
echo °
echo °
echo °
echo "PARAM : $@"
local B_ITEM_A
local B_ITEM_B
B_ITEM_A="${1}"
echo "B_ITEM_A : $B_ITEM_A"
B_ITEM_B="$1"
echo "B_ITEM_B :... (7 Replies)
Discussion started by: jcdole
7 Replies
LEARN ABOUT DEBIAN
debiannet
DebianNet(3pm) Linux Programmer's Manual DebianNet(3pm)
NAME
DebianNet.pm - create, remove, enable or disable entry in /etc/inetd.conf
SYNOPSIS
require DebianNet;
DebianNet::add_service($newentry, $group);
DebianNet::remove_service($entry);
DebianNet::enable_service($service, $pattern);
DebianNet::disable_service($service, $pattern);
DESCRIPTION
You can use the functions in DebianNet.pm to to add, remove, enable or disable entries in the /etc/inetd.conf file. After the
/etc/inetd.conf file has been changed, a SIGHUP signal will be sent to the inetd process to make sure that inetd will use the new
/etc/inetd.conf file. The functions can also be used to add entries that are commented out by default. They will be treated like normal
entries. That also means that if you already have an entry that is commented out you can't add an entry for the same service without remov-
ing the old one first.
The DebianNet functions treat entries that are commented out by a single '#' character as entries that have been commented out by a user.
It won't change such entries.
For shell scripts you can also use the update-inetd command. See update-inetd(8) for further information.
VARIABLES
$DebianNet::inetdcf = "FILENAME";
Use FILENAME instead of /etc/inetd.conf (e.g. for testing purposes).
$DebianNet::sep = "#<off># ";
"#<off># " will be used as the default comment characters. You can use this option to specify different comment characters. This
is only necessary if you have to deal with two (or more) services of the same name.
$DebianNet::multi = "true";
If you want to disable/remove more than one entry at a time you should use this option. If you try to remove more than one entry at
a time without using this option the program will show a warning and asks the user if he want to continue.
$DebianNet::verbose = "true";
Explain what is being done.
FUNCTIONS
DebianNet::add_service($newentry, $group);
Add $newentry to the group $group of the /etc/inetd.conf file. If the entry already exist it will be enabled (it will also detect
entries with different program options). Using $group is optional (the default group is the group OTHER). If the group does not
exist the entry will be placed at the end of the file.
DebianNet::remove_service($entry);
Remove $entry from /etc/inetd.conf . You can use a regular expression to remove the entry.
DebianNet::enable_service($service, $pattern);
Enable $service (e.g. "ftp") in /etc/inetd.conf . Using $pattern is optional. It can be used to select a service. You only need
this option if you have two (or more) services of the same name. An example: you have three ftp entries in the /etc/inetd.conf file
(all disabled by default) and you want to enable the entry which uses the wu-ftpd daemon. To do this, use the pattern "wu-ftpd" (or
any other regular expression that matches this entry).
DebianNet::disable_service($service, $pattern);
Disable SERVICE (e.g. "ftp") in /etc/inetd.conf . Using $pattern is optional (see above).
AUTHORS
Peter Tobias, <tobias@et-inf.fho-emden.de>
Ian Jackson <iwj10@cus.cam.ac.uk>
Linux 21 September 1995 DebianNet(3pm)