Best of Technical Support
I am using the command xlC to compile C++ programs on a UNIX platform. When I need to increase the precision of my mathematical calculations from 64b-128b, the following command is helpful:
xlC128 -qldbl128 <filename> [-lm]
where -lm is used to include mathematical libraries, if required. Now, I want to perform the same calculation with the same precision on Linux. Please guide me as to how I should proceed. If any mathematical libraries are required, please also indicate the source from where I can obtain them.
—Pramod, l_pramod@hotmail.com
Get GMP (Gnu Math Precision), a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers and floating-point numbers. You can find it at www.swox.com/gmp.
—Paul Christensen, pchristensen@penguincomputing.com
After I upgraded one of our systems to Red Hat 7.1 from 7.0, the system crashes frequently, something like once a week. The crashes always occur soon after 4:00 A.M. (after cron.daily is executed). Kernel output is
Unable to handle kernel NULL pointer dereference at virtual address 00000000.
I upgraded kernel to 2.4.3-12, but there's not much improvement.
—Atsuko Crum, acrum@hood.edu
I had similar problems with a different distribution but a 2.4.x kernel. It turned out that a BIOS upgrade for the motherboard took care of most of my problems. Although I still have similar occurrences, they are much less frequent.
—David Brown, david@caldera.com
While hardware problems can happen at any time, if this started after you upgraded, you should try downgrading the kernel to the version you had on Red Hat 7.0, or if you don't mind rebuilding a kernel, you can try getting the latest 2.4 available (2.4.10 at the time of this writing). Many bugs were fixed in the first versions of the 2.4 kernel. If you want to rule out hardware issues, you can try an excellent stress tester, Cerberus, which you can get from SourceForge at sourceforge.net/projects/va-ctcs.
—Marc Merlin, marc_bts@valinux.com
Slackware kept prompting that I had no space left for the installation to proceed. I could not believe it because I had 10GB reserved. I partitioned my hard drive like this:
5GB WinNT 4.0512MB for root512MB for swap4GB for usr4GB for home
—Cheppy, banggae@fisika.ui.ac.id
After formatting your partitions and setting up their mountpoints, switch to a second virtual console (Alt-F2) and verify, using df or mount, that they actually are mounted. If not, you will be installing Slackware on your 512MB root partition. That size may be too small if you are installing X or other large applications.
—Chad Robinson, crobinson@rfgonline.com
I am betting here that you are mislabeling the / (root) with a /root label. Try labeling your partitions like this: 5GB WinNT 4.0512MB /512MB swap4GB /usr4GB /home That should give you adequate space for the installation.
—Paul Christensen, pchristensen@penguincomputing.com
As I install more applications on my Slackware server for my users, I find that many require authentication, but there are a few that don't read data from the passwd file. The result is that users need to change their password in multiple locations.
There seems to be a movement toward PAM and LDAP so that if I could switch to support them, users could change their password to all of the services, including Samba, e-mail, pppd and phpgroupware from one location (such as a web-based password change application). However, Slackware doesn't support PAM, and I can't find a HOWTO to install PAM.
—Brian Johnson, bjohnson@jecinc.on.ca
It is possible to install PAM on a non-PAM-aware distribution, but it involves, among other things, replacing all your applications that do authentication with PAM-aware ones (and if your distribution doesn't provide them, you have to get the source, find PAM patches if they're not integrated and recompile everything with the right options for your system). It is a lot of work, and unless you're looking for a special challenge, I recommend you switch to a modern distribution like Debian Linux or Red Hat Linux (which both support PAM natively). Those are only two examples; many other distributions support PAM too.
—Marc Merlin, marc_bts@valinux.com
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- Designing Electronics with Linux
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Dynamic DNS—an Object Lesson in Problem Solving
- Using Salt Stack and Vagrant for Drupal Development
- Build a Skype Server for Your Home Phone System
- New Products
- Why Python?
- A Topic for Discussion - Open Source Feature-Richness?
- Validate an E-Mail Address with PHP, the Right Way
- Tech Tip: Really Simple HTTP Server with Python
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?




1 hour 55 min ago
4 hours 25 min ago
14 hours 27 min ago
18 hours 54 min ago
22 hours 30 min ago
23 hours 3 min ago
1 day 1 hour ago
1 day 1 hour ago
1 day 1 hour ago
1 day 5 hours ago