How to run module load in a script
wasps
[info]davdunc
The module environment has not been loaded as it is for a normal user session. Add the following to the beginning of the script:

 . /usr/share/Modules/init/bash


That will source the environment script and you will have the appropriate MODULEPATH and MODULESHOME values.
 [root@master iozone]# set | grep MODULE
 LOADEDMODULES=
 MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles:
 MODULESHOME=/usr/share/Modules

After that, you will be able to add the module command in your scripts. Consider the following:
 #!/bin/bash
 . /usr/share/Modules/init/bash
 module list
 module purge
 module list
 module avail
 module load mpi/openmpi-mellanox-interconnects-gcc
 module list

If you add the above commands to a file ''~/sandbox/modu.sh'' you will get the following:
 sh ~/sandbox/modu.sh
 No Modulefiles Currently Loaded.
 No Modulefiles Currently Loaded.
 
 ----------------------------------------------- /usr/share/Modules/modulefiles -----------------------------------------------
 PMPI/modulefile                           mpi/mvapich1-platform-interconnects-gnu
 dot                                       mpi/mvapich2-platform-interconnects-gnu
 module-cvs                                mpi/openmpi-mellanox-interconnects-gcc
 module-info                               mpi/openmpi-mellanox-interconnects-intel
 modules                                   mpi/openmpi-mellanox-interconnects-pgi
 mpi/mvapich1-mellanox-interconnects-gcc   mpi/openmpi-platform-interconnects-gnu
 mpi/mvapich1-mellanox-interconnects-intel null
 mpi/mvapich1-mellanox-interconnects-pgi   use.own
         This module will prepend the openmpi-mellanox-gnu bin, man and lib directories
         to the PATH, MANPATH and LD_LIBRARY_PATH environment variables,
         respectively.
 
 Currently Loaded Modulefiles:
   1) mpi/openmpi-mellanox-interconnects-gcc
 [root@master iozone]#

Texas Linufest is just around the corner.
wasps
[info]davdunc
I hope you are planning on going to the Texas Linuxfest Yourself. I know that I will be there this year. I am going to be splitting my time between the Fedora and the Dell booths this year. </p>
Adam Miller, you may know him as maximillion on the Fedora mailing lists and irc channels, has done a smash-up job of organizing the affair and providing some funding to support travel and board for out-of-town participants. He was able to get a Silver funding for the fest itself. A testament to his dedication to the Fedora team.
</p>
I hope to see you there!
Tags:

CTLUG Meeting this week.
wasps
[info]davdunc
Jack Mckinney is leading a discussion on IPv6 for the Central Texas Linux User’s Group. The discussion will be held starting at 7:30 PM on February 16th, 2011. http://www.ctlug.org for details.
The meeting will be held at Mangia’s Pizza, at the Domain location.
That’s at 12001 Burnet Road, next to Taco Deli for those of you familiar with the area.

Texas LinuxFest 2011 Call for Papers is upon us!
wasps
[info]davdunc
For those of you who did not attend the inagural Texas LinuxFest 2010 last April, this is a serious conference built by the local Texas Linux community. This grass roots effort provided a fantastic experience. If you have something you would like to present, don't be shy. This is a supportive group of users who are interested in all levels of technology!

http://www.texaslinuxfest.org/callforpapers/ will get you what you need to submit a proposal. You need to hurry, they are due by Midnight, Feb 14.

I will be there with the Fedora Ambassadors this year as well.

I know
wasps
[info]davdunc
I upgraded yesterday to the 2.6.34.7-56.fc13.i686 on my primary notebook. An XPS M1530 in which I have an Intel 3945ABG Wireless controller.

On initial boot of both 2.6.34.7-54 and the 2.6.34.7-56.fc13.i686, the wireless controller was unavailable. NetworkManager saw the device as "off". It appears the rtkill switch may have been read incorrectly. I installed the smbios-utils on my laptop and the problem went away at reboot.


The smbios-utils and the corresponding libsmbios are available from the dell-community repo. That repo is maintained by Dell. The bios revisions for the M1530 appear to be considerably out of date. A run of yum install $(bootstrap_firmware) returns no updates. I figure that means that there are no other XPS M1530 squeaky wheels (such as myself) or there are just no better updates than the A08 I am currently running. As I recall my last attempt to update beyond A08 crippled my mousepad.


So the good news is that the Wireless controller is working. The bad news is that BIOS update A12 is out there waiting for me to rip the .hdr out with . . . what? I don't know. extract_hdr is gone and firmware_tool doesn't have the --extract method I was hoping to use to remove it.


Sad thing is that I know whose fault it is that it isn't working. It is mine. I am Fedora.


PyTexas in Waco was a huge success.
wasps
[info]davdunc
This past Saturday, August 28th, I attended the PyTexas Convention. There have been four PyTexas conventions I know of, but this is the first I have been able to attend. I made Fedora goodies available to all who attended and saved the case badges for those who were interested in a conversation on python's use in the Fedora project.

I learned a lot. There were several Baylor grad students in attendance who accelerated my python learning during the morning's "Python Teach-In". Jeremy Dunck gave me a great lesson on working with ipython which I will use across platforms, but mostly on Fedora. Jeremy Lowery helped me to install and get started with the Python Koans. I highly recommend the Koans for beginning developers and python enthusiasts.

After the Teach-In, there were several great talks delivered by local enthusiasts. I attended the keynote given by Jeff Rush. For you Fedora users, Jeff is the guy who first created the Zope RPM's. Later in the day I attended his fantastic lecture entitled The Deconstruction of an Object. My head was swimming with information from that discussion. Jeff politely broke that talk in to four sections so that there was a break at each topic change. It was very helpful as the hour was PACKED with information on efficiency and inheritance at every step.

I attended two talks by OpenStack Object Storage Architect, Chuck Tier. Chuck's talks were simple and very descriptive of the mechanics of the swift data storage. Both of his talks ended with some very promising looks at the future for the project. He has some great times ahead of him and it was nice to hear his positive attitude towards his employers, RackSpace. He really enjoys working for a company that "gets it". The proverbial "it", in this case, being OpenSource.

I also attended a talk by John Dickinson on Version Control. John did a fantastic job of developing a vision of his topic sans presentation slides when the projector refused to play nice with his laptop.

RackSpace threw a great party afterwards at the Z-Bar on 6th street (in Waco). The beer was great, the 1554 got my vote. They gave away $250 in SouthWest Airlines gift certificates to one lucky winner.
Great job RackSpace!

One thing I now believe very important to have as an Ambassador is a 30-second plug for Fedora. One you can use at the drop of a hat. At the lightening talks 30-second plugs were available. The 30-second vendor plugs were introduced as filler for the prep time involved in the lightening talks. There are so many things to market for the Fedora project that a series of plugs prepared for infrastructure, packaging, ambassadorship, etc. could have easily filled as many available slots as we could take. It's easy to ask to be fit in for 1/2 a minute to talk about your favorite distro, but it is easy to get a second slot when you use your time well for the first one.

The hope for next year is to hold this event in College Station, TX at Texas A&M. The conference or unconference this year exceeded 100 participants from as far away as Kansas City, KS. I think this is a great event and could use more participation in the future from the Fedora ambassadors.

The com.com problem with my postfix server.
wasps
[info]davdunc

I am sure that the majority of my Linux friends would not make the same mistake I made on my latest installation of postfix. I am most dependent upon the use of google apps to manage my mail service over the last few . . . years(!) Wow! Has it really been that long? Well . . . anyway I made a simple mistake and only 5 minutes on #postfix on irc.freenode.net (donate!)

So what did I do? I set my hostname to thekaratekidsband.com and then I let postfix use that. What does postfix do with a hostname like "thekaratekidsband.com"? It uses the second section of the hostname to populate the second level of the domain name.  Then it uses the last section of the hostname to populate the third level.  This is the automated method of populating the value $mydestination.  This isn't helpful if your hostname is not very basic.

I was using a hostname of thekaratekidsband.com  and the result was the domain name com.com and that wasn't what I was expecting.  If you are using postfix, then you will get your best default results from a simple 3-level hostname.  If you are not using a simple host configuration or you are using a simple configuration that does not match the basic configuration then you may need to modify your $hostname or $mydestination. 

I was looking for a real method for troubleshooting the construction of this name.  I did not actually find the method for debugging the rewrite.  It didn't seem to happen in a way that was exposed in the expanded vars or in the debug, but I did find two users on #postfix who queued the channel bot to tell me how it worked.  They pointed me to $myorigin to show me the problem.  On my server $myorigin returned the same value as $domain.  I just assumed that the rewrite described for the mydestination was the problem. 

I look forward to reading a better explanation or getting one in the comments. :-)

http://www.postfix.org/BASIC_CONFIGURATION_README.html#myorigin  for informaiton (note that's the first page)
 


Tags:

SWAG! Texas LinuxFest 2010
wasps
[info]davdunc

SWAG! Texas LinuxFest 2010
Originally uploaded by davdunc
There were some great goodies in the Texas Linuxfest Supporter goodie bags. I mean. . . $40 for a super conference AND a goodie bag with swag like this. Shame on all of you who missed out. You know who I am talking about!

Texas Linuxfest 2010
wasps
[info]davdunc

Texas Linuxfest 2010
Originally uploaded by davdunc
This is before the pipe and drape went up, but you can see the bar. Yea! A bar.

Texas Linuxfest 2010
wasps
[info]davdunc

Texas Linuxfest 2010
Originally uploaded by davdunc
April 10 2010. Set up for the front room. Seated, in black hair, at roughly center is Matt Ray. Matt was a huge part of the team that put this Linuxfest together. I am really grateful for his effort and enthusiasm.

You are viewing [info]davdunc's journal