Petsc install on desktop with 2 cpu


 
Thread Tools Search this Thread
Top Forums Programming Petsc install on desktop with 2 cpu
# 1  
Old 12-11-2008
Question Petsc install on desktop with 2 cpu

Hi! everyone

I need to install petsc with MPI on my desktop.

I followed the instructions of petsc home page. But, whenever I ran make, I saw messabe "error[ignored]", also I can't work for complie and execution.

Install cygwin.

download petsc-2.3.3.-p15.tar.gz

cd /home/myhome/soft
gunzip -c petsc-2.3.3.tar.gz|tar -xof-
cd petsc-2.3.3.-p15
PETSC_DIR=$PWD;export PETSC_DIR

./config/configure.py --with-fc=g77 --with-cc=gcc --with-cxx=g++ --with-clanguage=c++ --download-f-blas-lapack=1 --download-mpich=1 --with-debugging=0 --with-x=1

make all

Here, I met error.
Do I need to set PETSC_ARCH?

If you help me, let me know which mistake I made.
Basically, I want C++ compiler as default compiler, and then want to use MPI interface.

Thank you in advance.

Last edited by kdh1971; 12-11-2008 at 05:24 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Solaris

How to install Solaris-desktop?

Hello, I am trying to install solaris desktop in solaris pkg install Solaris-desktop it say insufficient access to complete the required operation privileged user what does this mean? (14 Replies)
Discussion started by: Riteshkakkar
14 Replies

2. HP-UX

Help needed HP UX 11.11i new install on C8000 Desktop messaging system error CAN'T FIX

Hi, I have a HP UX C8000 box , have installed 11.11i from 4 x cds numerous times to try to get a functioning Network or to try and get rid of this error on start up, after new install and 1st startup I get an error "The desktop messaging system could not be started" and then advice about... (12 Replies)
Discussion started by: C8000
12 Replies

3. Red Hat

How to Install Red Hat Linux Desktop version 4?

I want to install Red Hat Linux Desktop version 4. Please tell me the step-by-step installation and which file system will be best for this O/S? Like in windows, we have NTFS file system(which has very security features). Is there any such file system in Linux? Which file system should i use?... (0 Replies)
Discussion started by: Anna Hussie
0 Replies

4. Red Hat

How to Install Red Hat Linux Desktop version 4?

I want to install Red Hat Linux Desktop version 4. Please tell me the step-by-step installation and which file system will be best for this O/S? Like in windows, we have NTFS file system(which has very security features). Is there any such file system in Linux? Which file system should i use? (2 Replies)
Discussion started by: Anna Hussie
2 Replies

5. BSD

How can install the FreeBSD on desktop!!

;)Hello everyone,I'm a new FreeBSD user,I don't know how to intall the BSD on desktop,please help me ~~ Thanks~~:D (11 Replies)
Discussion started by: johnney
11 Replies

6. UNIX for Dummies Questions & Answers

Would like to install x86 desktop Ubuntu over AMD64 Ubuntu server

My intention was to build a dual boot XP Pro 64 and Ubuntu media server. I had installed the AMD64 version of Ubuntu 8.10 server and thought that I would be able to install Apache server. I need a GUI to work in. I tried to boot and install Mythbuntu 32 bit 8.10, but my machine now won't recognize... (0 Replies)
Discussion started by: docflyboy
0 Replies
Login or Register to Ask a Question
desktop_color_depth(3alleg4)					  Allegro manual				      desktop_color_depth(3alleg4)

NAME
desktop_color_depth - Finds out the desktop color depth. Allegro game programming library. SYNOPSIS
#include <allegro.h> int desktop_color_depth(); DESCRIPTION
Finds out the currently selected desktop color depth. You can use this information to make your program use the same color depth as the desktop, which will likely make it run faster because the graphic driver won't be doing unnecessary color conversions behind your back. Under some OSes, switching to a full screen graphics mode may automatically change the desktop color depth. You have, therefore, to call this function before setting any graphics mode in order to retrieve the real desktop color depth. Example: allegro_init(); ... if ((depth = desktop_color_depth()) != 0) { set_color_depth(depth); } RETURN VALUE
Returns the color depth or zero on platforms where this information is not available or does not apply. SEE ALSO
get_desktop_resolution(3alleg4), set_color_depth(3alleg4), set_gfx_mode(3alleg4) Allegro version 4.4.2 desktop_color_depth(3alleg4)