CentOS 7 still have Python 2.7 as the default tool. EPEL repository comes up with Python 3. Here’s the way to setup Python 3 and pip3 on CentOS environment.
Type on terminal:
sudo yum install -y python34-setuptools
sudo easy_install-3.4 pip| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <fcntl.h> | |
| #include <sys/stat.h> | |
| #include <sys/mman.h> | |
| #include <unistd.h> | |
| int main(int argc, const char *argv[]) | |
| { |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #include "omp.h" | |
| #define MAX_SIZE 10 | |
| //Function for creating an input array||Update accoorind to your need | |
| void generate_list(int * x, int n) { | |
| int i,j,t; |