Build errors from a user

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Build errors from a user

Beth Tibbitts

A user from the ptp newsgroup is attempting to build ptp.
I indicated that Version 1.0 precompiled binaries should be available real
soon now ...
But is there an easy answer to his compile errors as shown below?
Thanks.
...Beth


Ok, I followd this instructions but what I get when I try to build orte or
SDM is a screenful of errors which indicate that certain libraries could
not be found. Giving a portion of the output. What do I do? Aren't there
any precompiled orte & sdm binaries?

Anirban

==============
src/orte_server.c:1577: error: �jobid� undeclared (first use in this
function)
src/orte_server.c:1578: error: �ORTE_SUCCESS� undeclared (first use in this
func tion)
src/orte_server.c:1584: error: �ORTE_JOB_SEGMENT� undeclared (first use in
this function)
src/orte_server.c:1586: error: �orte_gpr� undeclared (first use in this
function )
src/orte_server.c:1586: error: �ORTE_GPR_KEYS_OR� undeclared (first use in
this function)
src/orte_server.c:1586: error: �ORTE_GPR_TOKENS_OR� undeclared (first use in
thi s function)
src/orte_server.c:1595: error: �proc_num� undeclared (first use in this
function )
src/orte_server.c:1618: error: �input_types� undeclared (first use in this
funct ion)
src/orte_server.c:1620: error: �input_values� undeclared (first use in this
func tion)
src/orte_server.c: In function �get_num_nodes�:
src/orte_server.c:1686: error: �orte_gpr_value_t� undeclared (first use in
this function)
src/orte_server.c:1686: error: �values� undeclared (first use in this
function)
src/orte_server.c:1690: error: �orte_gpr� undeclared (first use in this
function )
src/orte_server.c:1690: error: �ORTE_GPR_KEYS_OR� undeclared (first use in
this function)
src/orte_server.c:1690: error: �ORTE_GPR_TOKENS_OR� undeclared (first use in
thi s function)
src/orte_server.c:1691: error: �ORTE_NODE_SEGMENT� undeclared (first use in
this  function)
src/orte_server.c:1693: error: �ORTE_SUCCESS� undeclared (first use in this
func tion)
src/orte_server.c: In function �ORTEGetNodeAttribute�:
src/orte_server.c:1756: warning: incompatible implicit declaration of
built-in f unction �malloc�
src/orte_server.c:1797: error: �stdout� undeclared (first use in this
function)
src/orte_server.c:1812: warning: incompatible implicit declaration of
built-in f unction �strlen�
src/orte_server.c: In function �get_node_attribute�:
src/orte_server.c:1884: error: �orte_gpr_value_t� undeclared (first use in
this function)
src/orte_server.c:1884: error: �values� undeclared (first use in this
function)
src/orte_server.c:1885: error: �value� undeclared (first use in this
function)
src/orte_server.c:1899: error: �orte_gpr� undeclared (first use in this
function )
src/orte_server.c:1899: error: �ORTE_GPR_KEYS_OR� undeclared (first use in
this function)
src/orte_server.c:1899: error: �ORTE_GPR_TOKENS_OR� undeclared (first use in
thi s function)
src/orte_server.c:1900: error: �ORTE_NODE_SEGMENT� undeclared (first use in
this  function)
src/orte_server.c:1901: error: �ORTE_SUCCESS� undeclared (first use in this
func tion)
src/orte_server.c:1925: error: �stdout� undeclared (first use in this
function)
src/orte_server.c: In function �ORTEQuit�:
src/orte_server.c:2011: error: �stdout� undeclared (first use in this
function)
src/orte_server.c: In function �main�:
src/orte_server.c:2062: warning: incompatible implicit declaration of
built-in f unction �fprintf�
src/orte_server.c:2062: error: �stderr� undeclared (first use in this
function)
mpicc: No such file or directory
make[2]: *** [orte_server-orte_server.o] Error 1
make[2]: Leaving directory `/root/workspace/org.eclipse.ptp.orte'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/workspace/org.eclipse.ptp.orte'
make: *** [all] Error 2



...Beth

Beth Tibbitts  (859) 243-4981  (TL 545-4981)
IBM T.J.Watson Research Center
Mailing Address:  IBM Corp., 455 Park Place, Lexington, KY 40511
_______________________________________________
ptp-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/ptp-dev
Reply | Threaded
Open this post in threaded view
|

Re: Build errors from a user

Nathan DeBardeleben
It's not finding the includes from OMPI that he built.  He either didn't
build OMPI --with-devel-headers, he didn't then 'make install' to have
those placed somewhere, or we're not finding the include files.
The compile should be finding the OMPI includes if he built with them so
I'd lean to him not using --with-devel-headers, but, definitely I can
say it's because it's not finding all the appropriate includes.

In fact, is there more of that error log?  There should be references to
not finding the includes.  Also note at the bottom he's having problems
with 'stdout', 'fprintf', something's whack with his includes / setup.  
Anyone see anything more concrete?

-- Nathan
Correspondence
---------------------------------------------------------------------
Nathan DeBardeleben, Ph.D.
Los Alamos National Laboratory
Parallel Tools Team
High Performance Computing Environments
phone: 505-667-3428
email: [hidden email]
---------------------------------------------------------------------



Beth Tibbitts wrote:

> A user from the ptp newsgroup is attempting to build ptp.
> I indicated that Version 1.0 precompiled binaries should be available real
> soon now ...
> But is there an easy answer to his compile errors as shown below?
> Thanks.
> ...Beth
>
>
> Ok, I followd this instructions but what I get when I try to build orte or
> SDM is a screenful of errors which indicate that certain libraries could
> not be found. Giving a portion of the output. What do I do? Aren't there
> any precompiled orte & sdm binaries?
>
> Anirban
>
> ==============
> src/orte_server.c:1577: error: �jobid� undeclared (first use in this
> function)
> src/orte_server.c:1578: error: �ORTE_SUCCESS� undeclared (first use in this
> func tion)
> src/orte_server.c:1584: error: �ORTE_JOB_SEGMENT� undeclared (first use in
> this function)
> src/orte_server.c:1586: error: �orte_gpr� undeclared (first use in this
> function )
> src/orte_server.c:1586: error: �ORTE_GPR_KEYS_OR� undeclared (first use in
> this function)
> src/orte_server.c:1586: error: �ORTE_GPR_TOKENS_OR� undeclared (first use in
> thi s function)
> src/orte_server.c:1595: error: �proc_num� undeclared (first use in this
> function )
> src/orte_server.c:1618: error: �input_types� undeclared (first use in this
> funct ion)
> src/orte_server.c:1620: error: �input_values� undeclared (first use in this
> func tion)
> src/orte_server.c: In function �get_num_nodes�:
> src/orte_server.c:1686: error: �orte_gpr_value_t� undeclared (first use in
> this function)
> src/orte_server.c:1686: error: �values� undeclared (first use in this
> function)
> src/orte_server.c:1690: error: �orte_gpr� undeclared (first use in this
> function )
> src/orte_server.c:1690: error: �ORTE_GPR_KEYS_OR� undeclared (first use in
> this function)
> src/orte_server.c:1690: error: �ORTE_GPR_TOKENS_OR� undeclared (first use in
> thi s function)
> src/orte_server.c:1691: error: �ORTE_NODE_SEGMENT� undeclared (first use in
> this  function)
> src/orte_server.c:1693: error: �ORTE_SUCCESS� undeclared (first use in this
> func tion)
> src/orte_server.c: In function �ORTEGetNodeAttribute�:
> src/orte_server.c:1756: warning: incompatible implicit declaration of
> built-in f unction �malloc�
> src/orte_server.c:1797: error: �stdout� undeclared (first use in this
> function)
> src/orte_server.c:1812: warning: incompatible implicit declaration of
> built-in f unction �strlen�
> src/orte_server.c: In function �get_node_attribute�:
> src/orte_server.c:1884: error: �orte_gpr_value_t� undeclared (first use in
> this function)
> src/orte_server.c:1884: error: �values� undeclared (first use in this
> function)
> src/orte_server.c:1885: error: �value� undeclared (first use in this
> function)
> src/orte_server.c:1899: error: �orte_gpr� undeclared (first use in this
> function )
> src/orte_server.c:1899: error: �ORTE_GPR_KEYS_OR� undeclared (first use in
> this function)
> src/orte_server.c:1899: error: �ORTE_GPR_TOKENS_OR� undeclared (first use in
> thi s function)
> src/orte_server.c:1900: error: �ORTE_NODE_SEGMENT� undeclared (first use in
> this  function)
> src/orte_server.c:1901: error: �ORTE_SUCCESS� undeclared (first use in this
> func tion)
> src/orte_server.c:1925: error: �stdout� undeclared (first use in this
> function)
> src/orte_server.c: In function �ORTEQuit�:
> src/orte_server.c:2011: error: �stdout� undeclared (first use in this
> function)
> src/orte_server.c: In function �main�:
> src/orte_server.c:2062: warning: incompatible implicit declaration of
> built-in f unction �fprintf�
> src/orte_server.c:2062: error: �stderr� undeclared (first use in this
> function)
> mpicc: No such file or directory
> make[2]: *** [orte_server-orte_server.o] Error 1
> make[2]: Leaving directory `/root/workspace/org.eclipse.ptp.orte'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/workspace/org.eclipse.ptp.orte'
> make: *** [all] Error 2
>
>
>
> ...Beth
>
> Beth Tibbitts  (859) 243-4981  (TL 545-4981)
> IBM T.J.Watson Research Center
> Mailing Address:  IBM Corp., 455 Park Place, Lexington, KY 40511
> ------------------------------------------------------------------------
>
> _______________________________________________
> ptp-dev mailing list
> [hidden email]
> https://dev.eclipse.org/mailman/listinfo/ptp-dev
>  
_______________________________________________
ptp-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/ptp-dev
Reply | Threaded
Open this post in threaded view
|

Re: Build errors from a user

Beth Tibbitts
Just to make sure it gets documented in this thread...
The answer was...
Make sure your OpenMPI installation is in your path ahead of any other MPI
installation that you may have on your machine.
 That way, you're getting the right mpicc which in turn gets all the right
includes.


...Beth

Beth Tibbitts  (859) 243-4981  (TL 545-4981)
IBM T.J.Watson Research Center
Mailing Address:  IBM Corp., 455 Park Place, Lexington, KY 40511


                                                                           
             Nathan                                                        
             DeBardeleben                                                  
             <[hidden email]                                          To
             >                         Parallel Tools Platform general    
             Sent by:                  developers <[hidden email]>    
             ptp-dev-bounces@e                                          cc
             clipse.org                                                    
                                                                   Subject
                                       Re: [ptp-dev] Build errors from a  
             03/01/2006 01:01          user                                
             PM                                                            
                                                                           
                                                                           
             Please respond to                                            
              Parallel Tools                                              
             Platform general                                              
                developers                                                
             <ptp-dev@eclipse.                                            
                   org>                                                    
                                                                           
                                                                           




It's not finding the includes from OMPI that he built.  He either didn't
build OMPI --with-devel-headers, he didn't then 'make install' to have
those placed somewhere, or we're not finding the include files.
The compile should be finding the OMPI includes if he built with them so
I'd lean to him not using --with-devel-headers, but, definitely I can
say it's because it's not finding all the appropriate includes.

In fact, is there more of that error log?  There should be references to
not finding the includes.  Also note at the bottom he's having problems
with 'stdout', 'fprintf', something's whack with his includes / setup.
Anyone see anything more concrete?

-- Nathan
Correspondence
---------------------------------------------------------------------
Nathan DeBardeleben, Ph.D.
Los Alamos National Laboratory
Parallel Tools Team
High Performance Computing Environments
phone: 505-667-3428
email: [hidden email]
---------------------------------------------------------------------



Beth Tibbitts wrote:
> A user from the ptp newsgroup is attempting to build ptp.
> I indicated that Version 1.0 precompiled binaries should be available
real
> soon now ...
> But is there an easy answer to his compile errors as shown below?
> Thanks.
> ...Beth
>
>
> Ok, I followd this instructions but what I get when I try to build orte
or

> SDM is a screenful of errors which indicate that certain libraries could
> not be found. Giving a portion of the output. What do I do? Aren't there
> any precompiled orte & sdm binaries?
>
> Anirban
>
> ==============
> src/orte_server.c:1577: error: �jobid� undeclared (first use in this
> function)
> src/orte_server.c:1578: error: �ORTE_SUCCESS� undeclared (first use in this
> func tion)
> src/orte_server.c:1584: error: �ORTE_JOB_SEGMENT� undeclared (first use in
> this function)
> src/orte_server.c:1586: error: �orte_gpr� undeclared (first use in this
> function )
> src/orte_server.c:1586: error: �ORTE_GPR_KEYS_OR� undeclared (first use in
> this function)
> src/orte_server.c:1586: error: �ORTE_GPR_TOKENS_OR� undeclared (first use
in

> thi s function)
> src/orte_server.c:1595: error: �proc_num� undeclared (first use in this
> function )
> src/orte_server.c:1618: error: �input_types� undeclared (first use in this
> funct ion)
> src/orte_server.c:1620: error: �input_values� undeclared (first use in this
> func tion)
> src/orte_server.c: In function �get_num_nodes�:
> src/orte_server.c:1686: error: �orte_gpr_value_t� undeclared (first use in
> this function)
> src/orte_server.c:1686: error: �values� undeclared (first use in this
> function)
> src/orte_server.c:1690: error: �orte_gpr� undeclared (first use in this
> function )
> src/orte_server.c:1690: error: �ORTE_GPR_KEYS_OR� undeclared (first use in
> this function)
> src/orte_server.c:1690: error: �ORTE_GPR_TOKENS_OR� undeclared (first use
in

> thi s function)
> src/orte_server.c:1691: error: �ORTE_NODE_SEGMENT� undeclared (first use in
> this  function)
> src/orte_server.c:1693: error: �ORTE_SUCCESS� undeclared (first use in this
> func tion)
> src/orte_server.c: In function �ORTEGetNodeAttribute�:
> src/orte_server.c:1756: warning: incompatible implicit declaration of
> built-in f unction �malloc�
> src/orte_server.c:1797: error: �stdout� undeclared (first use in this
> function)
> src/orte_server.c:1812: warning: incompatible implicit declaration of
> built-in f unction �strlen�
> src/orte_server.c: In function �get_node_attribute�:
> src/orte_server.c:1884: error: �orte_gpr_value_t� undeclared (first use in
> this function)
> src/orte_server.c:1884: error: �values� undeclared (first use in this
> function)
> src/orte_server.c:1885: error: �value� undeclared (first use in this
> function)
> src/orte_server.c:1899: error: �orte_gpr� undeclared (first use in this
> function )
> src/orte_server.c:1899: error: �ORTE_GPR_KEYS_OR� undeclared (first use in
> this function)
> src/orte_server.c:1899: error: �ORTE_GPR_TOKENS_OR� undeclared (first use
in

> thi s function)
> src/orte_server.c:1900: error: �ORTE_NODE_SEGMENT� undeclared (first use in
> this  function)
> src/orte_server.c:1901: error: �ORTE_SUCCESS� undeclared (first use in this
> func tion)
> src/orte_server.c:1925: error: �stdout� undeclared (first use in this
> function)
> src/orte_server.c: In function �ORTEQuit�:
> src/orte_server.c:2011: error: �stdout� undeclared (first use in this
> function)
> src/orte_server.c: In function �main�:
> src/orte_server.c:2062: warning: incompatible implicit declaration of
> built-in f unction �fprintf�
> src/orte_server.c:2062: error: �stderr� undeclared (first use in this
> function)
> mpicc: No such file or directory
> make[2]: *** [orte_server-orte_server.o] Error 1
> make[2]: Leaving directory `/root/workspace/org.eclipse.ptp.orte'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/workspace/org.eclipse.ptp.orte'
> make: *** [all] Error 2
>
>
>
> ...Beth
>
> Beth Tibbitts  (859) 243-4981  (TL 545-4981)
> IBM T.J.Watson Research Center
> Mailing Address:  IBM Corp., 455 Park Place, Lexington, KY 40511
> ------------------------------------------------------------------------
>
> _______________________________________________
> ptp-dev mailing list
> [hidden email]
> https://dev.eclipse.org/mailman/listinfo/ptp-dev
>
_______________________________________________
ptp-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/ptp-dev

_______________________________________________
ptp-dev mailing list
[hidden email]
https://dev.eclipse.org/mailman/listinfo/ptp-dev