Kernel Profile
BGP is capble of running different kernel per partition. By default IBM CNK and ION kernel(Linux) is booted in a partition when you submit a job. To enable Zepto Feature, you need to configure the system properly with Zepto Kernel.
Cobalt installed system
If your BGP system has the cobalt scheduler installed and its kernel profile feature has been configured properly, it would be easy to assign Zepto kernel. You can find a directory called kernel profile directory on login nodes (/bgsys/argonne-utils/profiles/ in ANL BGP system for example). Here are step to create a new kernel profile. Suppose that you have already built your Zepto kernel images.
NOTE: Your Zepto images must be readable from others, otherwise your job will fail. Please double check!
$ cd $KERNEL_PROFILE_DIR $ mkdir $YOUR_PROFILE_NAME && cd $YOUR_PROFILE_NAME $ ln -s $ZEPTO_DIR/BGP-CN-zImage-with-initrd.elf CNK $ ln -s $ZEPTO_DIR/BGP-ION-zImage.elf INK $ ln -s $ZEPTO_DIR/BGP-ION-ramdisk-for-CNL.elf ramdisk $ ln -s ../factory-default/CNS $ ln -s ../factory-default/uloader
For ANL user, we provide a convenient script named mkprofile-ANL.sh which essentially does what mentioned in above but has some other features. The following commen line is equivalent to the steps decribed in above.
$ cd $ZEPTO_DIR && ./mkprofile-ANL.sh --profile=$YOUR_PROFILE_NAME
Invoking it with the -h option shows help message. Use -c if you actually need to copy images instead of making symbolic link. Use -cn, -ion or -rd if you have a custom named image.
$ ./mkprofile-ANL.sh -h Usage: ./mkprofile-ANL.sh [OPTIONS] Options: -h : Show this message -c : Copy images instead of making symbolic link -f : Overwrite exsiting profile --profile=name : Specify profile name --cn=fn : Compute Node Kernel Image --ion=fn : Specify I/O Node Kernel Image --rd=fn : Specify I/O Node Ramdisk Image --ls : show files in profile --dryrun