[parsec-users] How link parsec's libraries

Juan Carlos Martinez Santos juanc.martinez.santos at gmail.com
Fri Mar 18 14:05:39 EDT 2011


Hello Yungang,

Thank you so much. I can run PARSEC on my simulated machine without library
issues.

Thanks again,

--
Juan Carlos

On Thu, Mar 17, 2011 at 4:19 PM, Yungang Bao <ybao at cs.princeton.edu> wrote:

> Hi Juan,
>
> If you want to run the workloads on Simics which are compiled on another
> machine (e.g., the host machine) with different versions of libraries, it is
> a good way to link those libraries statically.
>
> The default CXXFLAGS/CFLAGS in PARSEC only include '-static-libgcc' (Please
> see the 'PORTABILITY_FLAGS' in config/gcc.bldconf) which forces to use only
> the static libgcc. If you want to use other static libraries, e.g.,
> libstdc++, you could add '-static' flag into the 'PORTABILITY_FLAGS'.
>
> If you just want to make facesim use static libraries, instead of changing
> the config/*.bldconf, you could add the '-static' flags into the 'build_env'
> parameter in the workload specific build configuration files, e.g.,
> pkgs/apps/facesim/parsec/*.bldconf.
>
> Best Regards,
> Yungang
>
> ----- Original Message -----
> From: "Juan Carlos Martinez Santos" <juanc.martinez.santos at gmail.com>
> To: parsec-users at lists.cs.princeton.edu
> Sent: Thursday, March 17, 2011 11:05:07 AM
> Subject: [parsec-users] How link parsec's libraries
>
>
> Hello,
>
>
> I am running parsec on simics. I tried to run some programs (fluidanimate,
> facesim, etc), but I got an error related with the libstdc++.so.6 library. I
> am sure that my host library is old, but how I can link the libraries that I
> have on /parsec-2.1/pkg/lib/? What I need to do? Should I build each library
> on my virtual machine? After building, where are my libraries files?
>
>
> Thanks in advance,
>
>
> -- Juan Carlos
>
> _______________________________________________
> parsec-users mailing list
> parsec-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/parsec-users
> _______________________________________________
> parsec-users mailing list
> parsec-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/parsec-users
>



-- 
--
Juan Carlos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20110318/4c433a2b/attachment.html>


More information about the parsec-users mailing list