Questions tagged [sgi]

Silicon Graphics Inc. was a computer hardware and software manufacturer known for its high-end workstations, the IRIX OS and an early implementation of the STL

SGI produced workstations often used for 3D graphics and also produced its own version of UNIX SysV called IRIX. Use the tag for questions about IRIX.

SGI is also known for producing one of the first implementations of the C++ Standard Template Library. Questions about that should use the tag unless they are specific to the SGI implementation.

SGI filed for bankruptcy in 2009, and the company that bought most of its the assets, Rackable System, was later renamed to Silicon Graphics International. See the Wikipedia page for more information.

34 questions
6
votes
1 answer

How to understand vector pop_back implementation?

I am currently thinking why STL implement vector pop_back in this way. Why we move the finish pointer foreword first and then use finish pointer deallocate the space of last element? void pop_back() { --_M_finish; destroy(_M_finish); }
Edee
  • 1,746
  • 2
  • 6
  • 14
6
votes
2 answers

Saving a matplotlib animation with imagemagick, and without ffmpeg or mencoder

I want to create an animation of a calculated function. I'm not able to install ffmpeg or mencoder on the cluster I'm using to run the animation, but imagemagick is installed. matplotlib.animation apparently supports imagemagick as a writer for…
Dan
  • 12,157
  • 12
  • 50
  • 84
5
votes
2 answers

SGI STL Rope in g++?

It seems that there is a implementation of rope in my /usr/include/c++/4.5.1/ext/rope (and ropeimpl.h). I compared it with SGI STL and the code seems to be pretty much the same codebase. I'm not aware of its status or if its functional or not. Nor i…
lurscher
  • 25,930
  • 29
  • 122
  • 185
5
votes
3 answers

'hash_map' was not declared in this scope with g++ 4.2.1

I am trying to use sgi hash_map. #include #include #include #include #include #include #include using namespace std; struct eqstr { bool operator()(const char* s1,…
Mayank
  • 53
  • 1
  • 1
  • 3
5
votes
3 answers

Whether to choose an overload of template function or a partial specialization of a functor(function object)

The following is an excerpt of STL implementation of g++ (the sgi version of STL). I want to know why they use partial specialization instead of function overload. template struct __copy_dispatch { …
Joey.Z
  • 4,492
  • 4
  • 38
  • 63
4
votes
5 answers

How can I find out which library is home to a given object?

I'm programming in FORTRAN and C on an SGI running Irix 6.5, but this should be applicable to all Unix-like systems. How do I find which library I need to link to my program when I get an "unresolved text symbol" link error? Here's an example of…
Scottie T
  • 11,729
  • 10
  • 45
  • 59
3
votes
3 answers

Where can I find prebuilt Subversion binaries for SGI IRIX?

We have a few SGI Onyx 350 and Orgin 350 systems running IRIX 6.5.x that we would like to install Subversion on. One of them will likely be used as a simple repository server running svnserve. The others will only need client installs. The…
bengineerd
  • 1,268
  • 1
  • 16
  • 18
3
votes
5 answers

Inserting objects into hash table (C++)

This is my first time making a hash table. I'm trying to associate strings (the keys) with pointers to objects (the data) of class Strain. // Simulation.h #include using namespace __gnu_cxx; struct eqstr { bool operator()(const char…
Sarah
  • 1,614
  • 1
  • 23
  • 37
2
votes
2 answers

How to use sgi hash_table in VS2005?

I wrote a C++ project in VS2005, and used lots of STL container with its plus-in STL. However, I found STL in VS2005 does not have a hash_map in it, I want to use SGI hash_map. How can I change my project to use SGI STL? Thanks for Brian's method,…
user25749
  • 4,825
  • 14
  • 61
  • 83
2
votes
2 answers

A template function and a non-template overload of this function, which is a best match?

The code is as follows: template inline OutputIterator copy(InputIterator first, InputIterator last, OutputIterator result) { return…
Joey.Z
  • 4,492
  • 4
  • 38
  • 63
2
votes
1 answer

why I can't use the function adaptor compose2?

I use GCC 4.1.2 on linux, and the STL must be SGI STL. After I wrote: #include std::find_if(PirateFlush, PirateFlush + size, compose2(std::logical_and(), bind2nd(std::greater(), time), …
user1400047
  • 247
  • 2
  • 10
1
vote
1 answer

What's the intention behind such kind of template partial specialization?

when I tried to reconstruct the SGI STL source code, I saw this code snippet template struct _STL_GENERATOR_ERROR { static _Ret __generator_requirement_violation(_Func& __f) { return __f(); } }; template
Edee
  • 1,746
  • 2
  • 6
  • 14
1
vote
1 answer

Any known issues with ActiveMQ running on SGI

I'm having lots of issues trying to use ActiveMQ, and was wondering if there are any know issues running on SGI hardware - specifically a UV2k? Are there any known issues running on Suse linux? Getting a lot of threads started when starting the…
1
vote
1 answer

How to use sgi stl in g++

I want to debug SGI STL in g++ (version 4.1.2) I downloaded source code in http://www.sgi.com/tech/stl/download.html and put them in a directory,such as /stl and then g++ -I/stl m.cpp but it causes a lot of complie errs,why? m.cpp #include "list"…
gotojyh
  • 19
  • 3
1
vote
2 answers

Mongodb on SGI servers

We are planning to start a new project running on MongoDB. Our hardware partner recommends to use SGI (silicon graphics) servers because of the budget. But I have some concerns about it: 1) SGI UV NUMAlink and Shared Memory are compatible with…
wolfiem
  • 165
  • 1
  • 3
  • 10
1
2 3