[CSC 330] Compiler Issues on Cobra

Andrew J. Pounds pounds_aj at mercer.edu
Wed Nov 12 03:00:29 EST 2025


Several of you are reporting issues with accessing the gcc based 
compilers I built at the beginning of the semester (C, C++, Fortran, 
Ada, Cobol).   I believe the reason for this problem stems from the name 
change for cobra.  Cobra's fully qualified domain name is now

cobra.csc.mercer.edu

and if you are using the .bash_profile commands I gave you earlier in 
the semester there is a part of the code that says...

THISHOST=$(hostname -f)
if [ "$THISHOST" = "cobra.cs.mercer.edu" ]; then

Change cobra.cs.mercer.edu to cobra.csc.mercer.edu, log out and log back 
in, and you should be good to go.

You can verify things are working correctly by using the "which gcc" 
command and "gcc -v" -- both should resolve to the 15.2.0 compiler in 
/usr2  --- not the 8.5.0 compiler.


Please let me know if you are still having problems.



-- 
*/Andrew J. Pounds, Ph.D./*
/Professor of Chemistry and Computer Science/
/Director of the Computational Science Program/
/Mercer University/
/1501 Mercer University Drive, Macon, GA 31207 /
/(478) 301-5627/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc330/attachments/20251112/279de7ab/attachment.htm>


More information about the csc330 mailing list