Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I compile single- and multi-processor versions on SGI machines?

0
Posted

How do I compile single- and multi-processor versions on SGI machines?

0

To compile MrBayes 3.1 on a Silicon Graphics machine (running IRIX or Linux) you need to use the -lm flag at the end of the command line when linking. A typical compile session would look like this: gcc -DUNIX_VERSION -O3 -c -o mb.o mb.c gcc -DUNIX_VERSION -O3 -c -o mcmc.o mcmc.c gcc -DUNIX_VERSION -O3 -c -o bayes.o bayes.c gcc -DUNIX_VERSION -O3 -c -o command.o command.c gcc -DUNIX_VERSION -O3 -c -o mbmath.o mbmath.c gcc -DUNIX_VERSION -O3 -c -o model.o model.c gcc -DUNIX_VERSION -O3 -c -o plot.o plot.c gcc -DUNIX_VERSION -O3 -c -o sump.o sump.c gcc -DUNIX_VERSION -O3 -c -o sumt.o sumt.c gcc -DUNIX_VERSION -O3 mb.o bayes.o command.o mbmath.o mcmc.o model.o plot.o sump.o sumt.o -o mb -lm (Options for turning on various warnings have been omitted here for clarity). The only difference from the standard Makefile is on the last line above, where the -lm flag is now at the end. Under IRIX the cc compiler could have been used instead. Under Linux you could have used the icc compiler. If you

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123